[6.5.0] 无人化添加全息路口和路口概览的功能,增加切换tab隐藏元素接口

This commit is contained in:
EmArrow
2024-07-10 14:50:37 +08:00
parent 1233236c14
commit 4727b24d4b
9 changed files with 97 additions and 19 deletions

View File

@@ -20,6 +20,13 @@ object CallerHmiViewControlListenerManager : CallerBase<IViewControlListener>()
M_LISTENERS[tag]?.visible(v)
}
fun invokeMainPageViewVisible(v: Int) {
M_LISTENERS.forEach {
val listener = it.value
listener.mainPageViewVisible(v)
}
}
fun setStatusBarDarkOrLight(tag: String, light: Boolean) {
M_LISTENERS[tag]?.setStatusBarDarkOrLight(light)
}

View File

@@ -26,14 +26,14 @@ object CallerMsgBoxManager {
*/
fun saveMsgBox(bean: MsgBoxBean) {
CallerTrace.write(TAG,bean)
providerApi?.saveMsg(bean)
providerApi?.saveMsg(bean) //todo emArrow test
}
/**
* 存储含有pb的数据到消息盒子(区别与上述方法中的trace write)
*/
fun saveMsgBoxHasPB(bean: MsgBoxBean){
providerApi?.saveMsg(bean)
providerApi?.saveMsg(bean) //todo emArrow test
}
/**