diff --git a/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/model/CharterPassengerModel.kt b/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/model/CharterPassengerModel.kt index 6149b0aeab..f095ddfb2f 100644 --- a/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/model/CharterPassengerModel.kt +++ b/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/model/CharterPassengerModel.kt @@ -220,18 +220,20 @@ object CharterPassengerModel { object : IMoGoAutopilotStatusListener { override fun onAutopilotStatusResponse(autoPilotStatusInfo: AutopilotStatusInfo) { val state = autoPilotStatusInfo.state - when (state) { - IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> {} - IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE -> {} - IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE -> {} - IMoGoAutopilotStatusListener.STATUS_PARALLEL_DRIVING -> {} - else -> {} - } if(mPreAutoStatus!=state){ mPreAutoStatus = state mAutoStatusChnageListener.forEach { it.value.onAutoStatusChange(state) } + when (state) { + IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> { + CallerAutoPilotControlManager.getGlobalPath() + } + IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE -> {} + IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE -> {} + IMoGoAutopilotStatusListener.STATUS_PARALLEL_DRIVING -> {} + else -> {} + } } } override fun onAutopilotArriveAtStation(arrivalNotification: MessagePad.ArrivalNotification?) { diff --git a/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/manager/devicemanage/LightAirconditionDoorManager.kt b/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/manager/devicemanage/LightAirconditionDoorManager.kt index 7934b36787..e1f155cc2f 100644 --- a/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/manager/devicemanage/LightAirconditionDoorManager.kt +++ b/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/manager/devicemanage/LightAirconditionDoorManager.kt @@ -52,7 +52,7 @@ object LightAirconditionDoorManager { return if(location.gnssSpeed<0.01){ null }else{ - "车辆行驶中不可以开门哦~" + "车辆行驶中不可以开关门哦~" } } }