[6.4.0][Fix]解决FM数据存数据库后反序列化崩溃的问题
This commit is contained in:
@@ -4,11 +4,11 @@ import com.mogo.eagle.core.data.msgbox.FMFilterInfoMsg
|
||||
import com.mogo.eagle.core.data.msgbox.FMInfoMsg
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxType
|
||||
import com.mogo.eagle.core.data.msgbox.MsgFmData
|
||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoFaultManagementStateListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxManager
|
||||
import com.mogo.eagle.core.function.call.trace.CallerTrace
|
||||
import com.zhjt.mogo.adas.utils.ByteUtil
|
||||
import fault_management.FmInfo
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,9 @@ object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManageme
|
||||
MsgBoxBean(
|
||||
MsgBoxType.FMINFO,
|
||||
FMInfoMsg(list, policyCode,policyTime,false)
|
||||
)
|
||||
).apply {
|
||||
pbStr = ByteUtil.byteArrToHex(fmInfo.toByteArray(),false)
|
||||
}
|
||||
)
|
||||
} else {
|
||||
// 首次添加 listener
|
||||
@@ -78,7 +80,9 @@ object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManageme
|
||||
MsgBoxBean(
|
||||
MsgBoxType.FMINFO,
|
||||
FMInfoMsg(list, policyCode,policyTime,false)
|
||||
)
|
||||
).apply {
|
||||
pbStr = ByteUtil.byteArrToHex(fmInfo.toByteArray(),false)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user