[Feat]新增消息盒子数据中心
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package com.mogo.eagle.core.data.msgbox
|
||||
|
||||
data class MsgBoxBean(val type: MsgBoxType, val bean: Any, var timestamp: Long = 0)
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.mogo.eagle.core.data.msgbox
|
||||
|
||||
enum class MsgBoxType {
|
||||
OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.mogo.eagle.core.data.msgbox
|
||||
|
||||
enum class MsgCategory {
|
||||
NOTICE, SYS_INFO, RECORD_BAG
|
||||
}
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user