[sweeper运营&云控合并]feat: 增加运营面板的控制开关以及业务模式切换逻辑;feat:修改版本号V6.1.0;feat:增加业务模式切换的埋点;

This commit is contained in:
aibingbing
2023-10-30 20:38:35 +08:00
parent 65a9d7cdb5
commit 6aa424c34e
16 changed files with 568 additions and 184 deletions

View File

@@ -0,0 +1,17 @@
package com.mogo.eagle.core.function.call.vehicle
import com.mogo.eagle.core.function.api.vehicle.IMoGoSweeperModeListener
import com.mogo.eagle.core.function.call.base.CallerBase
/**
* 清扫车业务模式 模式变化 监听管理类
*/
object CallerSweeperModeListenerManager : CallerBase<IMoGoSweeperModeListener>() {
fun invokeSweeperModeListeners(currentMode: String) {
CallerSweeperModeListenerManager.M_LISTENERS.forEach {
val listener = it.value
listener.onSweeperCurrentModeChanged(currentMode)
}
}
}