[Feat]新增消息盒子数据中心

This commit is contained in:
chenfufeng
2022-11-22 16:32:20 +08:00
parent 64c448a4d6
commit 0c0ff743bb
21 changed files with 482 additions and 0 deletions

View File

@@ -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)
}

View File

@@ -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>
}