diff --git a/core/function-impl/mogo-core-function-v2x/src/main/java/com/mogo/eagle/core/function/v2x/events/scenario/scene/road/V2XRoadEventScenario.java b/core/function-impl/mogo-core-function-v2x/src/main/java/com/mogo/eagle/core/function/v2x/events/scenario/scene/road/V2XRoadEventScenario.java index ed566537b0..72dbae0235 100644 --- a/core/function-impl/mogo-core-function-v2x/src/main/java/com/mogo/eagle/core/function/v2x/events/scenario/scene/road/V2XRoadEventScenario.java +++ b/core/function-impl/mogo-core-function-v2x/src/main/java/com/mogo/eagle/core/function/v2x/events/scenario/scene/road/V2XRoadEventScenario.java @@ -13,9 +13,13 @@ import com.mogo.eagle.core.function.v2x.events.manager.V2XStatusManager; import com.mogo.eagle.core.function.v2x.events.scenario.impl.AbsV2XScenario; import com.mogo.eagle.core.function.v2x.events.scenario.view.IV2XMarker; import com.mogo.eagle.core.network.utils.GsonUtil; +import com.mogo.module.common.entity.MarkerExploreWay; import com.mogo.module.common.entity.V2XMessageEntity; import com.mogo.module.common.entity.V2XRoadEventEntity; +import com.mogo.module.common.enums.EventTypeEnum; import com.mogo.service.analytics.IMogoAnalytics; +import com.mogo.service.v2x.DisplayEffectsInterface; + import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; @@ -121,8 +125,18 @@ public class V2XRoadEventScenario extends AbsV2XScenario imp CallerVisualAngleManager.INSTANCE.changeVisualAngle(CallerVisualAngleManager.Scene.RoadEvent.INSTANCE); CallerHmiManager.INSTANCE.showWarning(WarningDirectionEnum.ALERT_WARNING_TOP, TimeUnit.HOURS.toMillis(1)); V2XMessageEntity entity = getV2XMessageEntity(); - if (entity != null && entity.isNeedAddLine()) { - drawPOI(); + if (entity != null) { + if (entity.isNeedAddLine()) { + drawPOI(); + } + DisplayEffectsInterface wu = BridgeApi.INSTANCE.displayEffects(); + V2XRoadEventEntity content = entity.getContent(); + if (wu != null && content != null) { + MarkerExploreWay noveltyInfo = content.getNoveltyInfo(); + if (noveltyInfo != null && EventTypeEnum.FOURS_FOG.getPoiType().equals(content.getNoveltyInfo().getPoiType())) { + wu.displayEffects(EventTypeEnum.FOURS_FOG.getPoiType()); + } + } } }