shjung 2 年之前
父节点
当前提交
1a728fe954
共有 1 个文件被更改,包括 16 次插入16 次删除
  1. 16 16
      src/main/java/com/its/op/entity/its/scrs/TbScSgnlCtlr.java

+ 16 - 16
src/main/java/com/its/op/entity/its/scrs/TbScSgnlCtlr.java

@@ -204,24 +204,24 @@ public class TbScSgnlCtlr implements Serializable {
         int aRingPhase = -1;
         int bRingPhase = -1;
         switch(this.stts.getPrstAringPhas()) {
-            case 1: aRingPhase = this.aring1phasCd; break;
-            case 2: aRingPhase = this.aring2phasCd; break;
-            case 3: aRingPhase = this.aring3phasCd; break;
-            case 4: aRingPhase = this.aring4phasCd; break;
-            case 5: aRingPhase = this.aring5phasCd; break;
-            case 6: aRingPhase = this.aring6phasCd; break;
-            case 7: aRingPhase = this.aring7phasCd; break;
-            case 8: aRingPhase = this.aring8phasCd; break;
+            case 0: aRingPhase = this.aring1phasCd; break;
+            case 1: aRingPhase = this.aring2phasCd; break;
+            case 2: aRingPhase = this.aring3phasCd; break;
+            case 3: aRingPhase = this.aring4phasCd; break;
+            case 4: aRingPhase = this.aring5phasCd; break;
+            case 5: aRingPhase = this.aring6phasCd; break;
+            case 6: aRingPhase = this.aring7phasCd; break;
+            case 7: aRingPhase = this.aring8phasCd; break;
         }
         switch(this.stts.getPrstBringPhas()) {
-            case 1: bRingPhase = this.bring1phasCd; break;
-            case 2: bRingPhase = this.bring2phasCd; break;
-            case 3: bRingPhase = this.bring3phasCd; break;
-            case 4: bRingPhase = this.bring4phasCd; break;
-            case 5: bRingPhase = this.bring5phasCd; break;
-            case 6: bRingPhase = this.bring6phasCd; break;
-            case 7: bRingPhase = this.bring7phasCd; break;
-            case 8: bRingPhase = this.bring8phasCd; break;
+            case 0: bRingPhase = this.bring1phasCd; break;
+            case 1: bRingPhase = this.bring2phasCd; break;
+            case 2: bRingPhase = this.bring3phasCd; break;
+            case 3: bRingPhase = this.bring4phasCd; break;
+            case 4: bRingPhase = this.bring5phasCd; break;
+            case 5: bRingPhase = this.bring6phasCd; break;
+            case 6: bRingPhase = this.bring7phasCd; break;
+            case 7: bRingPhase = this.bring8phasCd; break;
         }
         if (aRingPhase >= 1000000) {
             String aPhase = String.format("%07d", aRingPhase);