[8.1.0]云控基础平台消息接入

This commit is contained in:
xuxinchao
2025-06-11 10:59:25 +08:00
parent 6cf2dce10c
commit fcbb538919
19 changed files with 1093 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerV2XListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerV2nNioEventListenerManager
import com.mogo.eagle.core.function.call.devatools.CallerCaptureImgManager
import com.mogo.eagle.core.function.call.devatools.CallerDiskCopyManager
import com.mogo.eagle.core.function.call.devatools.CallerNDECloudManager
import com.mogo.eagle.core.function.call.devatools.CallerV2XManager
import com.mogo.eagle.core.function.call.devatools.CallerOTAManager
import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxManager
@@ -1508,6 +1509,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
astFuncPojo: AstFuncPojo,
astFuncTlmInfo: AstFuncTlmInfo
) {
CallerNDECloudManager.onNdeCloudAstFuncTlm(astFuncPojo,astFuncTlmInfo)
}
/**
@@ -1522,6 +1524,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
advicePojo: AdvicePojo,
adviceGlosaInfo: AdviceGlosaInfo
) {
CallerNDECloudManager.onNdeCloudAdviceGlosa(advicePojo,adviceGlosaInfo)
}
/**
@@ -1545,6 +1548,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
advicePojo: AdvicePojo,
adviceComRsiInfo: AdviceComRsiInfo
) {
CallerNDECloudManager.onNdeCloudAdviceComRsi(advicePojo,adviceComRsiInfo)
}
/**
@@ -1559,6 +1563,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
advicePojo: AdvicePojo,
adviceEvwInfo: AdviceEvwInfo
) {
CallerNDECloudManager.onNdeCloudAdviceEvw(advicePojo,adviceEvwInfo)
}
/**
@@ -1573,6 +1578,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
advicePojo: AdvicePojo,
adviceLaneSpdLmtInfo: AdviceLaneSpdLmtInfo
) {
CallerNDECloudManager.onNdeCloudAdviceLaneSpdLmt(advicePojo,adviceLaneSpdLmtInfo)
}
/**
@@ -1587,6 +1593,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
advicePojo: AdvicePojo,
adviceAvwInfo: AdviceAvwInfo
) {
CallerNDECloudManager.onNdeCloudAdviceAvw(advicePojo,adviceAvwInfo)
}
/**

View File

@@ -167,7 +167,7 @@ object DataManager {
CallerMsgBoxListenerManager.invokeListener(MsgCategory.SYS_INFO, msg)
}
MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION,MsgBoxType.OTA, MsgBoxType.NDE -> {
MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION,MsgBoxType.OTA, MsgBoxType.NDE,MsgBoxType.CLOUD -> {
synchronized(this) {
notifyList.add(msg)
}
@@ -381,6 +381,17 @@ object DataManager {
}
}
}
MsgBoxType.CLOUD.ordinal -> {
return@map MsgBoxBean(
MsgBoxType.CLOUD,
GsonUtils.fromJson(json,CloudControlMsg::class.java)
).apply {
this.timestamp = msgInfo.timeStamp
withContext(Dispatchers.Main) {
cacheNotifyList.add(this@apply)
}
}
}
else -> {
return@map null