[3.2.0] charter到站状态异常处理

This commit is contained in:
wangmingjun
2023-06-07 18:27:53 +08:00
committed by zhongchao
parent 02fe106e11
commit 64ae4849b2

View File

@@ -692,6 +692,7 @@ class DriverM1Model {
sendCharterEndTripInfo()
startOrStopCheckCountDown(false)
updateToClientData()
isArrivedStation = false
}
// else{ // 订单不为空,有服务中订单,等待去查询订单
// mOrderCallback?.updateReturnCarStatus(true)
@@ -701,6 +702,7 @@ class DriverM1Model {
clearAutopilotControlParameters()
mCurrentOrder = null
currentChangeDestMsg = null
isArrivedStation = false
startOrStopCheckCountDown(false)
updateToClientData()
}
@@ -813,6 +815,7 @@ class DriverM1Model {
override fun onSuccess(data: BaseData?) {
if (data != null && data.code == 0){
d(SceneConstant.M_CHARTER_D + TAG, "confirmed station .")
isArrivedStation = false
CallerAutoPilotControlManager.cancelAutoPilot()
queryCurrentServiceStatus()
sendCommitMsgToClient(true,writeVersion)