1.国网上送接口
This commit is contained in:
@@ -536,4 +536,12 @@ public enum DicDataEnum {
|
||||
this.value = null;
|
||||
}
|
||||
|
||||
public static DicDataEnum getDicDataEnumValue(String code) {
|
||||
for (DicDataEnum item : values()) {
|
||||
if (item.getCode().equals(code)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,6 +112,10 @@ public enum DicDataTypeEnum {
|
||||
|
||||
DEVICE_UNIT("数据单位类型","Device_Unit"),
|
||||
//国网上送
|
||||
USER_CLASS("用户分类","User_Class"),
|
||||
IMPORTANCE_LEVEL("重要性等级","Importance_Level"),
|
||||
ELE_CLASS("用电类别","Ele_Class"),
|
||||
INDUSTRY_TYPE("行业分类","industry_type"),
|
||||
PLAN_STATUS("计划状态","plan_status"),
|
||||
APP_EVENT("APP暂态事件类型","app_event"),
|
||||
DEVICE_TYPE("设备类型","Device_Type")
|
||||
|
||||
Reference in New Issue
Block a user