diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/TestOnLineCarUtils.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/TestOnLineCarUtils.java index 33eafe8543..e47a234730 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/TestOnLineCarUtils.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/TestOnLineCarUtils.java @@ -430,7 +430,7 @@ public class TestOnLineCarUtils { try { InputStream inputStream = V2XUtils.getApp() .getResources() - .openRawResource(R.raw.scenario_push_vr_event_data_yongdu_gongsi); + .openRawResource(R.raw.scenario_push_vr_event_data_yongdu_gongsi_1); ByteArrayOutputStream baos = new ByteArrayOutputStream(); int len = -1; byte[] buffer = new byte[1024]; diff --git a/modules/mogo-module-v2x/src/main/res/raw/scenario_push_vr_event_data_yongdu_gongsi_1.json b/modules/mogo-module-v2x/src/main/res/raw/scenario_push_vr_event_data_yongdu_gongsi_1.json new file mode 100644 index 0000000000..1f41a45323 --- /dev/null +++ b/modules/mogo-module-v2x/src/main/res/raw/scenario_push_vr_event_data_yongdu_gongsi_1.json @@ -0,0 +1,71 @@ +{ + "sceneId": "200008", + "alarmContent": "拥堵路线推荐", + "expireTime": 10000, + "sceneCategory": 0, + "sceneDescription": "拥堵路线推荐", + "sceneName": "拥堵路线推荐", + "sceneLevel": 0, + "videoUrl": "", + "videoChannel": "", + "videoSn": "", + "tts": "发现前方拥堵,最优路线快6分钟", + "zoom": false, + "zoomScale": 15, + "userHead": "", + "msgImgUrl": "", + "lat":39.969088, + "lon":116.41808, + "polyline": [ + [ + 116.417388,39.983351 + ], + [ + 116.417351,39.9841 + ], + [ + 116.417286,39.985423 + ], + [ + 116.417233,39.98673 + ], + [ + 116.417179,39.988156 + ], + [ + 116.417158,39.988493 + ], + [ + 116.417142,39.989245 + ], + [ + 116.417174,39.990199 + ] + ], + "recommendPolyline": [ + [ + 116.417388,39.983351 + ], + [ + 116.417351,39.9841 + ], + [ + 116.417286,39.985423 + ], + [ + 116.417233,39.98673 + ], + [ + 116.417179,39.988156 + ], + [ + 116.417158,39.988493 + ], + [ + 116.417142,39.989245 + ], + [ + 116.417174,39.990199 + ] + ] +} \ No newline at end of file