[6.5.1]Bus考试UI合并到主分支

This commit is contained in:
xuxinchao
2024-07-29 17:30:00 +08:00
parent fae45e0cd4
commit 2c8e80eca8
11 changed files with 299 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.mogo.eagle.core.function.call.setting
import com.mogo.eagle.core.function.api.setting.ISeatPressureEventListener
import com.mogo.eagle.core.function.call.base.CallerBase
import java.util.concurrent.ConcurrentHashMap
/**
* 座椅压力事件监听管理
*/
object CallerSeatPressureManager: CallerBase<ISeatPressureEventListener>() {
fun invokeUpdateBgEvent(isPress: Boolean){
M_LISTENERS.forEach {
val tag = it.key
val listener = it.value
listener.onUpdateBgEvent(isPress)
}
}
}