[6.2.0] wait

This commit is contained in:
zhongchao
2023-11-06 15:50:22 +08:00
parent f8e501b14e
commit 37d630fc55
2 changed files with 12 additions and 9 deletions

View File

@@ -517,14 +517,10 @@ object BusPassengerModel {
}
// if (DebugConfig.isDebug()) {
// ToastUtils.showShort("到达目的地");
// ToastUtils.showShort("到达目的地")
// }
mADASStatusCallback?.onAutopilotArriveEnd()
}
override fun onAutopilotStatusRespByQuery(status: SystemStatusInfo.StatusInfo) {}
override fun onSystemStatus(statusInf: SsmInfo.SsmStatusInf) {}
}
private val moGoAutopilotPlanningListener: IMoGoPlanningRottingListener =
object : IMoGoPlanningRottingListener {

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.call.autopilot
import androidx.collection.ArraySet
import com.mogo.eagle.core.function.api.autopilot.IMoGoFaultManagementStateListener
import com.mogo.eagle.core.function.call.base.CallerBase
import fault_management.FmInfo
@@ -9,12 +10,18 @@ import fault_management.FmInfo
*/
object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManagementStateListener>() {
private val cacheFaultList = ArrayList<String>()
private val cachePolicyMap = hashMapOf<String,Any>()
fun invokeFaultManagementState(fmInfo: FmInfo.FaultResultMsg) {
M_LISTENERS.forEach {
val listener = it.value
listener.onFaultManagementState(fmInfo)
val list = fmInfo.infosList
list.forEach {
cacheFaultList.add(it.faultId)
}
// M_LISTENERS.forEach {
// val listener = it.value
// listener.onFaultManagementState(fmInfo)
// }
}
}