package com.zc.business.enums; /** * 预警事件信息来源 * @author xiepufeng */ public enum WarningSourceEnum { VIDEO_AI(1, "视频AI"), RADAR_RECOGNITION(2,"雷达识别"), CONE_DETECTION(3,"锥桶感应"), GUARDRAIL_COLLISION(4,"护栏碰撞"), QR_CODE_ALERT(5,"扫码报警"), NON_MOTOR_VEHICLE_WARNING(6,"非机动车预警"); private final Integer code; private final String description; WarningSourceEnum(Integer code, String description) { this.code = code; this.description = description; } public Integer getCode() { return code; } public String getDescription() { return description; } }