修复小巴车订单流转,
完成小巴车UI修复
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
android:id="@+id/fl_speed"
|
||||
android:layout_width="@dimen/dp_300"
|
||||
android:layout_height="@dimen/dp_300"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:background="@drawable/yi_biao_pan_bg_nor"
|
||||
android:elevation="@dimen/dp_10"
|
||||
|
||||
@@ -115,7 +115,7 @@ public class V2XSocketManager {
|
||||
if (mV2XMessageListener_402000 != null) {
|
||||
V2XServiceManager
|
||||
.getMoGoSocketManager()
|
||||
.unregisterOnMessageListener(401019, mV2XMessageListener_402000);
|
||||
.unregisterOnMessageListener(402000, mV2XMessageListener_402000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class V2XOptimalRouteOverlay {
|
||||
}
|
||||
}
|
||||
|
||||
mPolylineColors.addAll(ColorUtils.gradientAlpha("#002965ED", "#FF2965ED", mPolylinePointList.size() / 3));
|
||||
mPolylineColors.addAll(ColorUtils.gradientAlpha("#FF2965ED", "#FF2965ED", mPolylinePointList.size() ));
|
||||
|
||||
// 替换路径集合
|
||||
mPolylineOptions.points(mPolylinePointList);
|
||||
|
||||
@@ -55,7 +55,7 @@ public abstract class AbsV2XScenario<T> implements IV2XScenario {
|
||||
@Override
|
||||
public void speakTTSVoice(@Nullable String msg, IMogoVoiceCmdCallBack callBack) {
|
||||
if (!TextUtils.isEmpty(msg)) {
|
||||
Logger.w(V2XConst.MODULE_NAME, "调用TTS播放语音:" + msg);
|
||||
Logger.d(V2XConst.MODULE_NAME, "调用TTS播放语音:" + msg);
|
||||
AIAssist.getInstance(V2XUtils.getApp()).speakTTSVoice(msg, VoicePreemptType.PREEMPT_TYPE_IMMEADIATELY, callBack);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class V2XOptimalRouteVREventMarker implements IV2XMarker<V2XOptimalRouteD
|
||||
|
||||
@Override
|
||||
public void drawPOI(V2XOptimalRouteDataRes entity) {
|
||||
Logger.w(V2XConst.MODULE_NAME + "_" + TAG, "drawPOI 绘制VR Marker");
|
||||
Logger.d(V2XConst.MODULE_NAME + "_" + TAG, "drawPOI 绘制VR Marker");
|
||||
|
||||
try {
|
||||
// 清除道路事件
|
||||
|
||||
@@ -461,7 +461,7 @@ public class TestOnLineCarUtils {
|
||||
try {
|
||||
InputStream inputStream = V2XUtils.getApp()
|
||||
.getResources()
|
||||
.openRawResource(R.raw.scenario_push_vr_event_data_yongdu_gongsi_1);
|
||||
.openRawResource(R.raw.test_data_v2x_zuiyouluxian);
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
int len = -1;
|
||||
byte[] buffer = new byte[1024];
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"current_lane_id": "1903",
|
||||
"current_lane_num": -2,
|
||||
"locus_list": [
|
||||
{
|
||||
"lat": 39.974323417486,
|
||||
"lng": 0.0,
|
||||
"lon": 116.411520335961
|
||||
},
|
||||
{
|
||||
"lat": 39.974407914698,
|
||||
"lng": 0.0,
|
||||
"lon": 116.411515520661
|
||||
},
|
||||
{
|
||||
"lat": 39.974658553869,
|
||||
"lng": 0.0,
|
||||
"lon": 116.411505432781
|
||||
},
|
||||
{
|
||||
"lat": 39.974881303401,
|
||||
"lng": 0.0,
|
||||
"lon": 116.411499467848
|
||||
}
|
||||
],
|
||||
"most_lane_num": -3,
|
||||
"most_speed": 8.0,
|
||||
"road_id": "400139",
|
||||
"sn": "F803EB2046PZD00149"
|
||||
}
|
||||
Reference in New Issue
Block a user