[Feat]新增消息盒子数据中心
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.data.msgbox.MsgCategory
|
||||
|
||||
/**
|
||||
* @author chenfufeng
|
||||
* @date 2022/11/21
|
||||
* 消息盒子的数据回调
|
||||
*/
|
||||
interface IMsgBoxListener {
|
||||
fun onDataChanged(category: MsgCategory, msgBoxList: MsgBoxBean)
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
|
||||
interface IMsgBoxProvider: IMoGoFunctionServerProvider {
|
||||
fun saveMsg(bean: MsgBoxBean)
|
||||
|
||||
/**
|
||||
* 通知消息:V2X、云公告、运营信息
|
||||
*/
|
||||
fun getNotifyData(): List<MsgBoxBean>
|
||||
/**
|
||||
* 工控机Report信息
|
||||
*/
|
||||
fun getSysInfoData(): List<MsgBoxBean>
|
||||
|
||||
/**
|
||||
* 录包信息
|
||||
*/
|
||||
fun getRecordBagData(): List<MsgBoxBean>
|
||||
}
|
||||
Reference in New Issue
Block a user