From 62909feccbf9806d9de297eaf89f395cd7c4739e Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Fri, 6 Jan 2023 13:00:34 +0800 Subject: [PATCH] =?UTF-8?q?[Opt]=E6=B6=88=E6=81=AF=E7=9B=92=E5=AD=90?= =?UTF-8?q?=E4=B8=AD=E6=95=B0=E6=8D=AE=E5=8C=BA=E5=88=86=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mogo/eagle/core/data/msgbox/DataSourceType.kt | 5 +++++ .../main/java/com/mogo/eagle/core/data/msgbox/MsgBoxBean.kt | 1 + 2 files changed, 6 insertions(+) create mode 100644 core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/DataSourceType.kt diff --git a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/DataSourceType.kt b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/DataSourceType.kt new file mode 100644 index 0000000000..60561f77de --- /dev/null +++ b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/DataSourceType.kt @@ -0,0 +1,5 @@ +package com.mogo.eagle.core.data.msgbox + +enum class DataSourceType { + DEFAULT, OBU, TELEMATIC, AICLOUD +} \ No newline at end of file diff --git a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxBean.kt b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxBean.kt index 7a08d71212..9c370be85d 100644 --- a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxBean.kt +++ b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxBean.kt @@ -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 }