Browse Source

优化感知事件标题和描述文字描述

develop
xiepufeng 10 months ago
parent
commit
b8e7e7c9a3
  1. 58
      zc-business/src/main/java/com/zc/business/enums/WarningSubclassEnum.java

58
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) {

Loading…
Cancel
Save