[Bus/TaxiDriver v2.5.1]OCH: 增加设置'美化模式'相关参数的log
This commit is contained in:
@@ -600,6 +600,7 @@ public class OchBusOrderModel {
|
||||
if (FunctionBuildConfig.isDemoMode && ((currentStationIndex > 0 && currentStationIndex < stationList.size()-1)
|
||||
|| (stationList.get(0).isLeaving() || stationList.get(stationList.size() -1).isLeaving()))){//行驶过程中设置美化
|
||||
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = true;
|
||||
Logger.d(TAG, "美化模式-ignore:置为true(每次滑动出发)");
|
||||
}
|
||||
if (refreshBusStationsCallback != null){
|
||||
if (currentStation.isLeaving()){//如果服务端的当前站是leaving状态,展示当前站需要+1
|
||||
@@ -748,6 +749,7 @@ public class OchBusOrderModel {
|
||||
}
|
||||
if (FunctionBuildConfig.isDemoMode && currentStationIndex == stationList.size() - 1){//到达最后一站结束美化
|
||||
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = false;
|
||||
Logger.d(TAG, "美化模式-ignore:置为false(到最后一站)");
|
||||
}
|
||||
Logger.d( TAG, "到站====currentStationIndex=" + currentStationIndex);
|
||||
isGoingToNextStation = false;
|
||||
|
||||
@@ -748,6 +748,7 @@ public class MogoOCHTaxiModelNew {
|
||||
&& mCurrentOCHOrder.orderStatus == OrderStatusEnum.OnTheWayToEndStation.getCode()) {
|
||||
// 当美化模式(演示模式)开启时: 订单对应自动驾驶开启后,置true
|
||||
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = true;
|
||||
Logger.d(TAG, "美化模式-ignore:置为true(更新本地order信息)");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -758,6 +759,7 @@ public class MogoOCHTaxiModelNew {
|
||||
if (FunctionBuildConfig.isDemoMode) {
|
||||
// 当美化模式(演示模式)开启时: 取消或订单已完成时,置false
|
||||
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = false;
|
||||
Logger.d(TAG, "美化模式-ignore:置为false(清除当前订单)");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -986,6 +988,7 @@ public class MogoOCHTaxiModelNew {
|
||||
if (FunctionBuildConfig.isDemoMode) {
|
||||
// 当美化模式(演示模式)开启时: 订单对应自动驾驶开启后,置true
|
||||
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = true;
|
||||
Logger.d(TAG, "美化模式-ignore:置为true(到达出发点且已开启自动驾驶)");
|
||||
}
|
||||
}
|
||||
} else if (state == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE) {
|
||||
|
||||
Reference in New Issue
Block a user