From 6dffb13c352315ec7f2c23a1014b459d8af3b24f Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Wed, 25 Dec 2024 14:22:34 +0800 Subject: [PATCH] =?UTF-8?q?[6.9.0][Feat]=E6=B6=88=E6=81=AF=E7=9B=92?= =?UTF-8?q?=E5=AD=90=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE=E4=B8=8A=E8=BD=A6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/eagle/core/data/msgbox/MsgBoxType.kt | 2 +- .../com/mogo/eagle/core/data/msgbox/NDEMsg.kt | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/NDEMsg.kt diff --git a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxType.kt b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxType.kt index 2c5f37ad55..507cfa8937 100644 --- a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxType.kt +++ b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/MsgBoxType.kt @@ -2,5 +2,5 @@ package com.mogo.eagle.core.data.msgbox enum class MsgBoxType { // 按功能划分为几大类:运营、通知、V2X模块、OBU模块、工控机Report、录制、交通、FM、语音、SSM、工控机相关等 - OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC, FMINFO, VOICE, SSMINFO, AUTOPILOT, FSM + OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC, FMINFO, VOICE, SSMINFO, AUTOPILOT, FSM, NDE } \ No newline at end of file diff --git a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/NDEMsg.kt b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/NDEMsg.kt new file mode 100644 index 0000000000..bb476adc74 --- /dev/null +++ b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/msgbox/NDEMsg.kt @@ -0,0 +1,17 @@ +package com.mogo.eagle.core.data.msgbox + +import android.util.Log +import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger +import java.io.Serializable + +data class NDEMsg(var type: String = "", var title: String? = "", var des: String? = ""): Serializable { + + private var timeStamp: Long = 0 + + init { + timeStamp = System.currentTimeMillis() + if (des.isNullOrEmpty()) { + CallerLogger.e("MsgBox", Log.getStackTraceString(Throwable())) + } + } +} \ No newline at end of file