Parcourir la source

矩阵二期状态逻辑调整

王波 il y a 1 semaine
Parent
commit
f855c2da2a

+ 3 - 3
runeconomy-xk/src/main/java/com/gyee/runeconomy/service/monitor/MatrixHAService.java

@@ -159,8 +159,6 @@ public class MatrixHAService {
                             ztvo.setStatus(1.0);//限功运行
                         } else if (jlls.get(0).getPointValue().equals("true")) {
                             ztvo.setStatus(11.0);//解缆
-                        } else if (zktjls.get(0).getPointValue().equals("true")) {
-                            ztvo.setStatus(-1.0);//通讯中断
                         } else if (ztls.get(0).getPointValueInDouble() == 0.0) {
                             ztvo.setStatus(-1.0);//通讯中断
                         } else if (ztls.get(0).getPointValueInDouble() == 1.0) {
@@ -173,7 +171,9 @@ public class MatrixHAService {
                             ztvo.setStatus(10.0);//启动
                         } else if (ztls.get(0).getPointValueInDouble() == 5.0) {
                             ztvo.setStatus(0.0);//正常运行
-                        }
+                        } else if (zktjls.get(0).getPointValue().equals("true")) {
+                             ztvo.setStatus(-1.0);//通讯中断
+                         }
 
 
                     }