[Opt]消息盒子中数据区分数据来源

This commit is contained in:
chenfufeng
2023-01-06 13:00:34 +08:00
parent 982fa018c9
commit 62909feccb
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package com.mogo.eagle.core.data.msgbox
enum class DataSourceType {
DEFAULT, OBU, TELEMATIC, AICLOUD
}

View File

@@ -3,4 +3,5 @@ package com.mogo.eagle.core.data.msgbox
data class MsgBoxBean(val type: MsgBoxType, val bean: Any) {
var timestamp: Long = 0
var bean2Json: String = ""
var sourceType: DataSourceType = DataSourceType.DEFAULT
}