[6.9.0]消息盒子增加OTA升级消息
This commit is contained in:
@@ -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, NDE
|
||||
OPERATION, NOTICE, V2X, OBU, REPORT, RECORD, TRAFFIC, FMINFO, VOICE, SSMINFO, AUTOPILOT, FSM, NDE,OTA
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.mogo.eagle.core.data.msgbox
|
||||
|
||||
import android.util.Log
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||
import java.io.Serializable
|
||||
|
||||
/**
|
||||
* OTA升级相关消息
|
||||
*/
|
||||
data class OTAMsg(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()))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user