[6.2.0]
[charter] [靠边停车重新起步后修改美化模式]
This commit is contained in:
@@ -23,6 +23,7 @@ import com.mogo.och.common.module.biz.callback.ILoginCallback
|
||||
import com.mogo.och.common.module.biz.common.socketmessage.OCHSocketMessageManager.OPERATION_ROAD_SIDE_TYPE
|
||||
import com.mogo.och.common.module.biz.constant.LoginStatusManager.isLogin
|
||||
import com.mogo.och.common.module.manager.autopilotmanager.OCHAdasAbilityManager
|
||||
import com.mogo.och.common.module.manager.beautifymode.BeautifyManager
|
||||
import com.mogo.och.common.module.manager.stopsidemanager.OCHPlanningActionsCallback
|
||||
import com.mogo.och.common.module.manager.stopsidemanager.StopSideStatus
|
||||
import com.mogo.och.common.module.manager.stopsidemanager.StopSideManager
|
||||
@@ -171,6 +172,12 @@ class DriverM1Presenter(view: DriverM1Fragment?) :
|
||||
OPERATION_ROAD_SIDE_TYPE
|
||||
)
|
||||
}
|
||||
StopSideStatus.EndingSuccess -> {
|
||||
BeautifyManager.notifyViewChange(BeautifyManager.ChangeTypeEnum.STOPSITE_SUCCESS)
|
||||
}
|
||||
StopSideStatus.NOTHING -> {
|
||||
BeautifyManager.notifyViewChange(BeautifyManager.ChangeTypeEnum.STOPSITE_SUCCESS_RUN)
|
||||
}
|
||||
StopSideStatus.EndingFaile,
|
||||
StopSideStatus.NOSTART-> {
|
||||
DriverM1Model.get().pushOperationalToMsgBox(
|
||||
|
||||
@@ -17,7 +17,8 @@ object BeautifyManager : IViewControlListener, IReceivedMsgListener {
|
||||
BEAUTIFY_TYPE,// 美化模式变化
|
||||
ORDER_STATU_CHANGE,// 订单状态发生变化
|
||||
ARRIVED_DEST,// 到站
|
||||
STOPSITE_SUCCESS// 靠边停车成功
|
||||
STOPSITE_SUCCESS,// 靠边停车成功
|
||||
STOPSITE_SUCCESS_RUN// 靠边停车成功后恢复为正在驾驶
|
||||
}
|
||||
|
||||
private val orderStatusChangeListeners = ConcurrentHashMap<String, IBeautifyModeCallback>()
|
||||
|
||||
@@ -186,7 +186,12 @@ object StopSideManager : IMoGoAutopilotPlanningActionsListener {
|
||||
// 只响应第一次
|
||||
}else{
|
||||
stopSiteStatus = StopSideStatus.NOTHING
|
||||
CallerLogger.d(SceneConstant.M_BUS+ TAG,"进入正常驾驶")
|
||||
M_LISTENERS.forEach {
|
||||
val tag = it.key
|
||||
val listener = it.value
|
||||
CallerLogger.d(SceneConstant.M_BUS+ TAG,"进入正常驾驶")
|
||||
listener.onStartAutopilotFailure(StopSideStatus.NOTHING,false,"进入正常行驶中")
|
||||
}
|
||||
}
|
||||
}
|
||||
else -> {}
|
||||
|
||||
Reference in New Issue
Block a user