Răsfoiți Sursa

报警相关美剧处理

王苗苗 1 lună în urmă
părinte
comite
67ff56df4e

+ 69 - 0
slibra-common/src/main/java/com/slibra/common/enums/BusinessEnum.java

@@ -381,4 +381,73 @@ public class BusinessEnum {
             return msg;
         }
     }
+
+
+
+    /**
+     *
+     * 进出水类型枚举
+     *
+     */
+    public enum WaterTypeEnum
+    {
+        JS(0, "进水"),
+        CS(1, "出水"),
+        ;
+
+        private final Integer code;
+        private final String msg;
+
+        WaterTypeEnum(Integer code, String msg)
+        {
+            this.code = code;
+            this.msg = msg;
+        }
+
+        public Integer getCode()
+        {
+            return code;
+        }
+
+        public String getMsg()
+        {
+            return msg;
+        }
+    }
+
+
+
+
+    /**
+     *
+     * 报警类型枚举
+     *
+     */
+    public enum WarningSymbolEnum
+    {
+        CBZZ(0, "超标准值"),
+        CGKZ(1, "超管控值"),
+        YBGZ(2, "仪表故障(断点、连续)"),
+        SJYC(3, "数据异常(突变、异常)"),
+        ;
+
+        private final Integer code;
+        private final String msg;
+
+        WarningSymbolEnum(Integer code, String msg)
+        {
+            this.code = code;
+            this.msg = msg;
+        }
+
+        public Integer getCode()
+        {
+            return code;
+        }
+
+        public String getMsg()
+        {
+            return msg;
+        }
+    }
 }