Merge branch 'dev_robotaxi-d_250603_8.1.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robotaxi-d_250603_8.1.0

This commit is contained in:
xinfengkun
2025-06-16 16:07:21 +08:00
52 changed files with 1161 additions and 189 deletions

View File

@@ -106,6 +106,21 @@ object CallerTrafficLightListenerManager : CallerBase<IMoGoTrafficLightListener>
}
}
/**
* 云控基础平台红绿灯信号
* @param currentState 当前灯态
* @param currentDuration 当前灯态倒计时
* @param nextState 下一灯态
* @param nextDuration 下一灯态倒计时
*/
fun showCloudTrafficLight(currentState: TrafficLightEnum,currentDuration: Int,
nextState: TrafficLightEnum, nextDuration: Int){
M_LISTENERS.forEach{
val listener = it.value
listener.showCloudTrafficLight(currentState, currentDuration, nextState, nextDuration)
}
}
fun changeCountdownTrafficLightNum(redNum: Int, yellowNum: Int, greenNum: Int) {
M_LISTENERS.forEach {
val listener = it.value