[Feat]新增消息盒子数据中心

This commit is contained in:
chenfufeng
2022-11-22 16:32:20 +08:00
parent 64c448a4d6
commit 0c0ff743bb
21 changed files with 482 additions and 0 deletions

View File

@@ -150,4 +150,7 @@ public class MogoServicePaths {
*/
@Keep
public static final String PATH_TELEMATIC_PROVIDER = "/telematic/api";
@Keep
public static final String PATH_MSG_BOX_MODULE = "/msg_box/api";
}

View File

@@ -0,0 +1,3 @@
package com.mogo.eagle.core.data.msgbox
data class MsgBoxBean(val type: MsgBoxType, val bean: Any, var timestamp: Long = 0)

View File

@@ -0,0 +1,5 @@
package com.mogo.eagle.core.data.msgbox
enum class MsgBoxType {
OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC
}

View File

@@ -0,0 +1,5 @@
package com.mogo.eagle.core.data.msgbox
enum class MsgCategory {
NOTICE, SYS_INFO, RECORD_BAG
}

View File

@@ -0,0 +1,6 @@
package com.mogo.eagle.core.data.msgbox
/**
* 运营消息:-1表示初始值
*/
data class OperationMsg(val timestamp : Long, val content: String, val type: Int = -1)