This commit is contained in:
xy
2024-06-20 16:05:26 +08:00
parent c994ada5e7
commit 6316389a68
7 changed files with 113 additions and 12 deletions

View File

@@ -323,6 +323,24 @@ public class PubUtils {
}
}
//监测点运行状态0投运1检修2停运3调试4退运
public static String lineRunFlag(Integer runFlag) {
switch (runFlag) {
case 0:
return "投运";
case 1:
return "检修";
case 2:
return "停运";
case 3:
return "调试";
case 4:
return "退运";
default:
return "";
}
}
public static Integer getRunFlag(String runFlag) {
switch (runFlag) {
case "投运":