From dcf08a0c5e55df99a7d4438ea1699299e2158bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Tue, 4 Aug 2020 19:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E4=BC=98=E5=8C=96=E3=80=8D=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=AE=9E=E6=97=B6=E8=B7=AF=E5=86=B5?= =?UTF-8?q?=E5=BE=97=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/module/v2x/utils/EventTypeUtils.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/EventTypeUtils.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/EventTypeUtils.java index e70f2114cd..9ba13d8dd1 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/EventTypeUtils.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/utils/EventTypeUtils.java @@ -1,7 +1,7 @@ package com.mogo.module.v2x.utils; -import com.mogo.module.v2x.R; import com.mogo.module.common.entity.V2XPoiTypeEnum; +import com.mogo.module.v2x.R; /** * @ProjectName: MoGoModulSafeDriving @@ -59,6 +59,14 @@ public class EventTypeUtils { case V2XPoiTypeEnum.FOURS_ACCIDENT: str = "交通事故"; break; + // 实时路况 + case V2XPoiTypeEnum.FOURS_LIVING: + str = "实时路况"; + break; + // 身边 + case V2XPoiTypeEnum.FOURS_NEALY: + str = "身边事件"; + break; default: str = "其它道路事件"; break; @@ -80,6 +88,8 @@ public class EventTypeUtils { strBg = R.drawable.bg_v2x_event_type_blue; break; case V2XPoiTypeEnum.FOURS_BLOCK_UP: // 拥堵 + case V2XPoiTypeEnum.FOURS_LIVING: // 实时路况 + case V2XPoiTypeEnum.FOURS_NEALY: // 身边 strBg = R.drawable.bg_v2x_event_type_orange; break; case V2XPoiTypeEnum.TRAFFIC_CHECK:// 交通检查 @@ -117,6 +127,8 @@ public class EventTypeUtils { case V2XPoiTypeEnum.FOURS_FOG://浓雾 case V2XPoiTypeEnum.FOURS_ICE://结冰 case V2XPoiTypeEnum.FOURS_ACCIDENT://事故 + case V2XPoiTypeEnum.FOURS_NEALY://身边 + case V2XPoiTypeEnum.FOURS_LIVING://实时路况 isRoadEvent = true; break; }