[6.6.2]行程总结事件数量判断高精地图是否加载和是否有订单

This commit is contained in:
xuxinchao
2024-10-09 15:04:13 +08:00
committed by EmArrow
parent efc8d7bccf
commit d4fe0a08d9

View File

@@ -1,6 +1,7 @@
package com.mogo.eagle.core.function.call.autopilot
import com.mogo.eagle.core.data.autopilot.AutopilotSummaryInfo
import com.mogo.eagle.core.function.call.hmi.CallerHmiViewControlListenerManager
object CallerServicesEventManager {
@@ -18,6 +19,14 @@ object CallerServicesEventManager {
}
fun updateServicesNum(serviceType: ServiceType){
val canShowV2NEventWindowView = CallerHmiViewControlListenerManager.getMainPageVisible()
if (!canShowV2NEventWindowView) {
return
}
val lineId = CallerAutoPilotStatusListenerManager.getLineId()
if (lineId <= 0) {
return
}
when(serviceType){
//全息路口服务次数
ServiceType.ROAD->{