[6.2.0] wait
This commit is contained in:
@@ -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)
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user