增加OBU状态管理

增加Debug调试页面

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-09-30 20:49:04 +08:00
parent 0170a7a11c
commit f3ee6c8795
18 changed files with 207 additions and 48 deletions

View File

@@ -21,7 +21,7 @@ interface IMoGoWaringProvider : IMoGoFunctionProvider {
alertContent: String?,
ttsContent: String?,
tag: String?,
listener: WarningStatusListener?
listenerIMoGo: IMoGoWarningStatusListener?
)
/**

View File

@@ -4,7 +4,7 @@ package com.mogo.eagle.core.function.api.hmi.warning
* @author xiaoyuzhou
* @date 2021/9/13 4:41 下午
*/
interface WarningStatusListener {
interface IMoGoWarningStatusListener {
fun onShow() {}
fun onDismiss() {}
}

View File

@@ -1,14 +1,13 @@
package com.mogo.eagle.core.function.api.obu;
package com.mogo.eagle.core.function.api.obu
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
/**
* @author xiaoyuzhou
* @date 2021/8/2 5:53 下午
* 蘑菇OBU 功能提接口
*/
public interface IMoGoObuProvider extends IProvider {
interface IMoGoObuProvider : IMoGoFunctionServerProvider {
}
}

View File

@@ -0,0 +1,16 @@
package com.mogo.eagle.core.function.api.obu
import com.mogo.eagle.core.data.obu.ObuStatusInfo
/**
* @author xiaoyuzhou
* @date 2021/9/30 5:53 下午
* OBU 状态监听回调
*/
interface IMoGoObuStatusListener {
/**
* 检查OBU连链接信息
* @param obuStatusInfo OBU 状态信息
*/
fun onObuStatusResponse(obuStatusInfo: ObuStatusInfo)
}