[8.1.0][fmd] 调试窗增加调试中:故障诊断功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user