|
|
@@ -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);
|