Merge branch 'dev_robotaxi-d_240227_6.3.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robotaxi-d_240227_6.3.0

This commit is contained in:
xinfengkun
2024-03-04 16:06:26 +08:00
6 changed files with 76 additions and 30 deletions

View File

@@ -135,13 +135,13 @@ object DataManager {
MsgBoxType.VOICE -> {
CallerMsgBoxListenerManager.invokeListener(MsgCategory.VOICE_INFO, msg)
}
MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION -> {
MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION, MsgBoxType.AUTOPILOT -> {
synchronized(this) {
notifyList.add(msg)
}
CallerMsgBoxListenerManager.invokeListener(MsgCategory.NOTICE, msg)
}
MsgBoxType.REPORT -> {
MsgBoxType.REPORT, MsgBoxType.SSMINFO -> {
synchronized(this) {
sysInfoList.add(msg)
}

View File

@@ -0,0 +1,11 @@
package com.mogo.eagle.core.data.msgbox
/**
* 工控机相关的消息
*/
data class AutopilotMsg(
val type: Int,
val title: String?,
val content: String?,
val timestamp : Long
)

View File

@@ -1,6 +1,6 @@
package com.mogo.eagle.core.data.msgbox
enum class MsgBoxType {
// 按功能划分为几大类运营、通知、V2X模块、OBU模块、工控机Report、录制、交通、FM、语音等
OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC, FMINFO, VOICE
// 按功能划分为几大类运营、通知、V2X模块、OBU模块、工控机Report、录制、交通、FM、语音、SSM、工控机相关
OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC, FMINFO, VOICE, SSMINFO, AUTOPILOT
}

View File

@@ -0,0 +1,11 @@
package com.mogo.eagle.core.data.msgbox
/**
* SSM消息
*/
data class SSMMsg(
val type: Int,
val title: String?,
val content: String?,
val timestamp : Long
)