Mr.Wang
9 months ago
2 changed files with 75 additions and 7 deletions
@ -0,0 +1,42 @@ |
|||
package com.zc.business.enums; |
|||
|
|||
/** |
|||
* 设备类型 |
|||
* @author wangjiabao |
|||
*/ |
|||
public enum DeviceTypeEnum { |
|||
|
|||
CAMERA(1, "摄像机"), |
|||
VARIABLE_INFORMATION_FLAG(2, "可变信息标志"), |
|||
METEOROLOGICAL_DETECTOR(3, "气象检测器"), |
|||
EXPORT_INDUCTION_LIGHT(4, "出口诱导灯"), |
|||
ROAD_SECTION_VOICE_BROADCASTING(5, "路段语音广播"), |
|||
COLLISION_OF_GUARDRAILS(6, "护栏碰撞"), |
|||
MILLIMETER_WAVE_RADAR(7, "毫米波雷达"), |
|||
CONFLUENCE_AREA_WARNING(8, "合流区预警"), |
|||
SMART_CONE_BUCKET(9, "智慧锥桶"), |
|||
LASER_FATIGUE_AWAKENING(10, "激光疲劳唤醒"), |
|||
CLASS_I_COMMUNICATION_STATION(11, "一类交流站"), |
|||
DRIVING_GUIDANCE(12, "行车诱导"), |
|||
SMART_DEVICE_BOX(13, "智能设备箱"), |
|||
ONLINE_MONITORING_OF_LIGHT(14, "光线在线监测"); |
|||
private final int code; |
|||
private final String info; |
|||
|
|||
DeviceTypeEnum(int code, String info) |
|||
{ |
|||
this.code = code; |
|||
this.info = info; |
|||
} |
|||
|
|||
public int getCode() |
|||
{ |
|||
return code; |
|||
} |
|||
|
|||
public String getInfo() |
|||
{ |
|||
return info; |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue