[610][adas]新增故障管理(FM)接口;修改底盘数据来源字段;新增SSM来源字段

This commit is contained in:
xinfengkun
2023-09-14 18:18:50 +08:00
parent ee89b6ecd0
commit 10d00adf4c
14 changed files with 200 additions and 27 deletions

View File

@@ -0,0 +1,21 @@
package com.mogo.eagle.core.function.call.autopilot
import com.mogo.eagle.core.function.api.autopilot.IMoGoFaultManagementStateListener
import com.mogo.eagle.core.function.call.base.CallerBase
import fault_management.FmInfo
/**
* 故障管理FM接口
*/
object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManagementStateListener>() {
/**
* 后摄像头视频数据
*/
fun invokeFaultManagementState(fmInfo: FmInfo.FaultResultMsg) {
M_LISTENERS.forEach {
val listener = it.value
listener.onFaultManagementState(fmInfo)
}
}
}