From b8e7e7c9a347eaae43f85f47788e69aaf8bd46e1 Mon Sep 17 00:00:00 2001 From: xiepufeng <1072271977@qq.com> Date: Sun, 18 Feb 2024 10:04:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=84=9F=E7=9F=A5=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=A0=87=E9=A2=98=E5=92=8C=E6=8F=8F=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E5=AD=97=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/enums/WarningSubclassEnum.java | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/enums/WarningSubclassEnum.java b/zc-business/src/main/java/com/zc/business/enums/WarningSubclassEnum.java index 6727263a..f980b706 100644 --- a/zc-business/src/main/java/com/zc/business/enums/WarningSubclassEnum.java +++ b/zc-business/src/main/java/com/zc/business/enums/WarningSubclassEnum.java @@ -13,36 +13,36 @@ public enum WarningSubclassEnum { TRAFFIC_JAM("1-1", "拥堵", "发生"), SLOW_TRAFFIC("1-2", "缓行", "发生"), - REGULAR_PEDESTRIAN("2-1", "普通行人", "有行人:"), - STAFF_MEMBER("2-2", "工作人员", "有行人:"), - MOTORCYCLE("3-1", "摩托车", "非机动车:"), - BICYCLE("3-2", "自行车","非机动车:"), - THREE_WHEELER("3-3", "三轮车","非机动车:"), - NON_CONSTRUCTION_VEHICLE("4-1", "非工程车", "非法停车:"), - CONSTRUCTION_VEHICLE("4-2", "工程车", "非法停车:"), - MAIN_ROAD_OCCUPIED("4-3", "主路有车", "非法停车:"), - RAMP_OCCUPIED("4-4", "匝道有车", "非法停车:"), + REGULAR_PEDESTRIAN("2-1", "普通行人", "发生行人"), + STAFF_MEMBER("2-2", "工作人员", "发生行人"), + MOTORCYCLE("3-1", "摩托车", "发生非机动车"), + BICYCLE("3-2", "自行车","发生非机动车"), + THREE_WHEELER("3-3", "三轮车","发生非机动车"), + NON_CONSTRUCTION_VEHICLE("4-1", "非工程车", "发生停车"), + CONSTRUCTION_VEHICLE("4-2", "工程车", "发生停车"), + MAIN_ROAD_OCCUPIED("4-3", "主路有车", "发生停车"), + RAMP_OCCUPIED("4-4", "匝道有车", "发生停车"), VEHICLE_BREAKDOWN("4-5", "车辆故障", "发生"), TRAFFIC_ACCIDENT("4-6", "交通事故", "发生"), - EMERGENCY_LANE_BLOCKED("4-7", "应急车道被占用", ""), - VEHICLE_EXIT_EMERGENCY_LANE("4-8", "车离开应急车道", ""), - OTHER_CONDITION("4-9", "其他", "非法停车:"), - REVERSING_OR_GOING_BACKWARDS("5-1", "倒车/逆行", "发现"), - FIREWORKS("6-1", "烟火", ""), - DEBRIS_ON_ROAD("7-1", "撒落物", "发现"), - RAIN("8-1", "雨", "异常天气:"), - HAIL("8-2", "冰雹", "异常天气:"), - WIND("8-3", "风", "异常天气:"), - FOG("8-4", "雾", "异常天气:"), - HIGH_TEMPERATURE("8-5", "高温", "异常天气:"), - WATER_POOLING("8-6", "积水", "异常天气:"), - SLIPPERY_ROAD_SURFACE("8-6", "路面湿滑", "异常天气:"), - ICY_ROAD("8-8", "路面结冰", "异常天气:"), - LOW_VISIBILITY("8-9", "道路能见度低", "异常天气:"), - ROAD_FOG("8-10", "道路团雾", "异常天气:"), - COLLISION_ONLY("9-1", "只碰撞不倾斜", "护栏碰撞:"), - TILTED_WITHOUT_COLLISION("9-1", "只倾斜无碰撞", "护栏碰撞:"), - COLLISION_AND_TILTED("9-3", "碰撞后倾斜", "护栏碰撞:"); + EMERGENCY_LANE_BLOCKED("4-7", "应急车道被占用", "发生"), + VEHICLE_EXIT_EMERGENCY_LANE("4-8", "车离开应急车道", "发生"), + OTHER_CONDITION("4-9", "其他", "发生停车"), + REVERSING_OR_GOING_BACKWARDS("5-1", "倒车/逆行", "发生"), + FIREWORKS("6-1", "烟火", "发生"), + DEBRIS_ON_ROAD("7-1", "撒落物", "发生撒落物"), + RAIN("8-1", "雨", "发生异常天气"), + HAIL("8-2", "冰雹", "发生异常天气"), + WIND("8-3", "风", "发生异常天气"), + FOG("8-4", "雾", "发生异常天气"), + HIGH_TEMPERATURE("8-5", "高温", "发生异常天气"), + WATER_POOLING("8-6", "积水", "发生异常天气"), + SLIPPERY_ROAD_SURFACE("8-6", "路面湿滑", "发生异常天气"), + ICY_ROAD("8-8", "路面结冰", "发生异常天气"), + LOW_VISIBILITY("8-9", "道路能见度低", "发生异常天气"), + ROAD_FOG("8-10", "道路团雾", "发生异常天气"), + COLLISION_ONLY("9-1", "只碰撞不倾斜", "发生护栏碰撞"), + TILTED_WITHOUT_COLLISION("9-1", "只倾斜无碰撞", "发生护栏碰撞"), + COLLISION_AND_TILTED("9-3", "碰撞后倾斜", "发生护栏碰撞"); @Getter private final String code; @Getter @@ -66,7 +66,7 @@ public enum WarningSubclassEnum { } public String getDecorateInfo() { - return decorate + decorate; + return decorate + "(" + info + ")" + "事件"; } public static String getDecorateInfo(String code) {