[6.3.0]修复类型转换异常问题

This commit is contained in:
xuxinchao
2024-03-13 10:40:39 +08:00
parent cd29f4075d
commit 92b4012967

View File

@@ -401,8 +401,10 @@ internal object BadCaseManager : LifecycleEventObserver, IMoGoAutopilotRecordLis
override fun onDataChanged(category: MsgCategory, msgBoxList: MsgBoxBean) {
if(category == MsgCategory.SYS_INFO){
//上报
BadCaseConfig.newReportEntity = msgBoxList.bean as ReportEntity
if(msgBoxList.type == MsgBoxType.REPORT){
//上报
BadCaseConfig.newReportEntity = msgBoxList.bean as ReportEntity
}
}else if(category == MsgCategory.FM_INFO){
//FM
BadCaseConfig.newFMInfoMsg = msgBoxList.bean as FMInfoMsg