[8.1.0][fmd] 调试窗增加调试中:故障诊断功能

This commit is contained in:
xinfengkun
2025-06-16 16:04:05 +08:00
parent 5c9d49a92a
commit 1796f13879
388 changed files with 36083 additions and 7 deletions

View File

@@ -25,6 +25,14 @@ object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManageme
private var tempHighAction: Int = 9 //临时故障Level
fun invokeFaultManagementState(fmInfo: FmInfo.FaultResultMsg) {
M_LISTENERS.forEach {
val listener = it.value
try {
listener.onFaultManagementState(fmInfo)
} catch (t: Throwable) {
t.printStackTrace()
}
}
val policyCode = fmInfo.downgradePolicyCode
if (policyCode == null || policyCode.isEmpty()) {
return