|
|
|
@ -12,7 +12,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 交接班类型 |
|
|
|
|
*/ |
|
|
|
|
public enum DutyRecTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum DutyRecTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 交班 |
|
|
|
|
*/ |
|
|
|
@ -22,12 +23,11 @@ public class OperationalConstants {
|
|
|
|
|
*/ |
|
|
|
|
CARRY_REC(2, "接班"); |
|
|
|
|
|
|
|
|
|
private final int val; |
|
|
|
|
@Getter |
|
|
|
|
private int val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private DutyRecTypeEnum(int val, String name) { |
|
|
|
|
DutyRecTypeEnum(int val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -36,7 +36,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 交接班类型 |
|
|
|
|
*/ |
|
|
|
|
public enum MessageRecTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum MessageRecTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 提前 15 分钟 提醒交班 |
|
|
|
|
*/ |
|
|
|
@ -49,12 +50,11 @@ public class OperationalConstants {
|
|
|
|
|
DELAYED_HAND_REC_MESSAGE(1, "延时交班提醒"), |
|
|
|
|
//最迟延迟交班提醒
|
|
|
|
|
DELAYED_HAND_REC_MESSAGE_LAST(15, "延时交班提醒"); |
|
|
|
|
private final int val; |
|
|
|
|
@Getter |
|
|
|
|
private int val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private MessageRecTypeEnum(int val, String name) { |
|
|
|
|
MessageRecTypeEnum(int val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -63,7 +63,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 消息业务分类 |
|
|
|
|
*/ |
|
|
|
|
public enum MessageClassifyEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum MessageClassifyEnum { |
|
|
|
|
/** |
|
|
|
|
* 系统通知 |
|
|
|
|
*/ |
|
|
|
@ -85,12 +86,11 @@ public class OperationalConstants {
|
|
|
|
|
*/ |
|
|
|
|
MESSAGE_CNONE("none", "无"); |
|
|
|
|
|
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private MessageClassifyEnum(String val, String name) { |
|
|
|
|
MessageClassifyEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -100,7 +100,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 交接班类型 |
|
|
|
|
*/ |
|
|
|
|
public enum RecTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum RecTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 交班提醒 |
|
|
|
|
*/ |
|
|
|
@ -114,12 +115,11 @@ public class OperationalConstants {
|
|
|
|
|
*/ |
|
|
|
|
REMIND_HAND_PERSON(3, "提醒交班人交班"); |
|
|
|
|
|
|
|
|
|
private final int val; |
|
|
|
|
@Getter |
|
|
|
|
private int val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private RecTypeEnum(int val, String name) { |
|
|
|
|
RecTypeEnum(int val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -129,7 +129,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 工作流状态 |
|
|
|
|
*/ |
|
|
|
|
public enum ProcessStatusEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum ProcessStatusEnum { |
|
|
|
|
/** |
|
|
|
|
* 默认 |
|
|
|
|
*/ |
|
|
|
@ -142,12 +143,11 @@ public class OperationalConstants {
|
|
|
|
|
* 提醒交班人交班 |
|
|
|
|
*/ |
|
|
|
|
COMPLETED_PROCESS_STATUS(2, "已完成"); |
|
|
|
|
private final int val; |
|
|
|
|
@Getter |
|
|
|
|
private int val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private ProcessStatusEnum(int val, String name) { |
|
|
|
|
ProcessStatusEnum(int val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -156,7 +156,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 数据类型 |
|
|
|
|
*/ |
|
|
|
|
public enum UserDataScopeTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum UserDataScopeTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 只看自己 |
|
|
|
|
*/ |
|
|
|
@ -181,12 +182,11 @@ public class OperationalConstants {
|
|
|
|
|
* 全部可见 |
|
|
|
|
*/ |
|
|
|
|
SELT_SUBORDINATE_BODY("5", "个人及下属机构"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private UserDataScopeTypeEnum(String val, String name) { |
|
|
|
|
UserDataScopeTypeEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -196,7 +196,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 站点类型 |
|
|
|
|
*/ |
|
|
|
|
public enum StationTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum StationTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 水电站 |
|
|
|
|
*/ |
|
|
|
@ -221,12 +222,11 @@ public class OperationalConstants {
|
|
|
|
|
* 闸门 |
|
|
|
|
*/ |
|
|
|
|
GATE_STATION("6", "闸门"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private StationTypeEnum(String val, String name) { |
|
|
|
|
StationTypeEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -236,7 +236,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 所属行业 |
|
|
|
|
*/ |
|
|
|
|
public enum TradeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum TradeEnum { |
|
|
|
|
/** |
|
|
|
|
* 水电站 |
|
|
|
|
*/ |
|
|
|
@ -245,12 +246,11 @@ public class OperationalConstants {
|
|
|
|
|
* 风电 |
|
|
|
|
*/ |
|
|
|
|
WATER_AFFAIRS_INDUSTRY("2", "水务行业"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private TradeEnum(String val, String name) { |
|
|
|
|
TradeEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -260,7 +260,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 站点类型 |
|
|
|
|
*/ |
|
|
|
|
public enum StationQuantityEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum StationQuantityEnum { |
|
|
|
|
/** |
|
|
|
|
* 水电站 |
|
|
|
|
*/ |
|
|
|
@ -277,12 +278,11 @@ public class OperationalConstants {
|
|
|
|
|
* 泵站 |
|
|
|
|
*/ |
|
|
|
|
WHOLE("4", "整"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private StationQuantityEnum(String val, String name) { |
|
|
|
|
StationQuantityEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -291,7 +291,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 行业类型 |
|
|
|
|
*/ |
|
|
|
|
public enum InDustryEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum InDustryEnum { |
|
|
|
|
/** |
|
|
|
|
* 系统 |
|
|
|
|
*/ |
|
|
|
@ -308,12 +309,11 @@ public class OperationalConstants {
|
|
|
|
|
* 单个站点类型 |
|
|
|
|
*/ |
|
|
|
|
SINGLE_STATION_TYPE("4", "单个站点类型"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private InDustryEnum(String val, String name) { |
|
|
|
|
InDustryEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -323,7 +323,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 首页分类 |
|
|
|
|
*/ |
|
|
|
|
public enum FirstPageTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum FirstPageTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 系统 |
|
|
|
|
*/ |
|
|
|
@ -335,12 +336,11 @@ public class OperationalConstants {
|
|
|
|
|
STATION("3", "站点数据总览"), |
|
|
|
|
TOW("4", "两站数据总览"), |
|
|
|
|
ONE("5", "单站数据总览"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private FirstPageTypeEnum(String val, String name) { |
|
|
|
|
FirstPageTypeEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
@ -350,7 +350,8 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 行业站点类型 |
|
|
|
|
*/ |
|
|
|
|
public enum BusinessStationTypeEnum { |
|
|
|
|
@Getter |
|
|
|
|
public enum BusinessStationTypeEnum { |
|
|
|
|
/** |
|
|
|
|
* 行业 |
|
|
|
|
*/ |
|
|
|
@ -363,17 +364,17 @@ public class OperationalConstants {
|
|
|
|
|
* 单个站点分类 |
|
|
|
|
*/ |
|
|
|
|
SINGLE_STATION_TYPE("3", "单个站点分类"); |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private BusinessStationTypeEnum(String val, String name) { |
|
|
|
|
BusinessStationTypeEnum(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
public enum DutyLogLevel { |
|
|
|
|
@Getter |
|
|
|
|
public enum DutyLogLevel { |
|
|
|
|
/** |
|
|
|
|
* 水电站 |
|
|
|
|
*/ |
|
|
|
@ -386,12 +387,11 @@ public class OperationalConstants {
|
|
|
|
|
/** |
|
|
|
|
* 泵站 |
|
|
|
|
*/ |
|
|
|
|
private final String val; |
|
|
|
|
@Getter |
|
|
|
|
private String val; |
|
|
|
|
@Getter |
|
|
|
|
private String name; |
|
|
|
|
private final String name; |
|
|
|
|
|
|
|
|
|
private DutyLogLevel(String val, String name) { |
|
|
|
|
DutyLogLevel(String val, String name) { |
|
|
|
|
this.val = val; |
|
|
|
|
this.name = name; |
|
|
|
|
} |
|
|
|
|