[6.1.0]运营面板调试面板的美化、雨天、点云事件状态同步

This commit is contained in:
xuxinchao
2023-09-20 18:00:46 +08:00
parent aa719d6cff
commit 8267f81cde
4 changed files with 145 additions and 20 deletions

View File

@@ -0,0 +1,41 @@
package com.mogo.eagle.core.function.call.setting
import com.mogo.eagle.core.function.api.setting.ISopSettingListener
import com.mogo.eagle.core.function.call.base.CallerBase
/**
* 运营面板、调试面板设置事件监听管理
*/
object CallerSopSettingManager: CallerBase<ISopSettingListener>() {
/**
* 触发演示模式事件监听
*/
fun invokeDemoModeListener(status: Boolean){
M_LISTENERS.forEach {
val listener = it.value
listener.onDemoModeClickEvent(status)
}
}
/**
* 触发雨天模式事件监听
*/
fun invokeRainModeListener(status: Boolean){
M_LISTENERS.forEach {
val listener = it.value
listener.onRainModeClickEvent(status)
}
}
/**
* 触发点云事件监听
*/
fun invokePointCloudListener(status: Boolean){
M_LISTENERS.forEach{
val listener = it.value
listener.onPointCloudClickEvent(status)
}
}
}