shjung 9 months ago
parent
commit
025c5d58aa

+ 0 - 1
conf/ggits-etlp-server.pid

@@ -1 +0,0 @@
-24728

+ 4 - 4
ggits-comm-server/src/main/java/com/sig/ggits/comm/server/dto/IntStatusDto.java

@@ -160,10 +160,10 @@ public class IntStatusDto implements Serializable {
     }
 
     public void setPhase(int aRingPhase, int aRingStep, int bRingPhase, int bRingStep, int holdPhase) {
-        if (holdPhase > 0) {
-            aRingPhase = holdPhase-1;
-            bRingPhase = holdPhase-1;
-        }
+        //if (holdPhase > 0) {
+            //aRingPhase = holdPhase-1;
+            //bRingPhase = holdPhase-1;
+        //}
         aRingPhase = (aRingPhase << 5);
         bRingPhase = (bRingPhase << 5);
 

+ 3 - 3
ggits-comm-server/src/main/java/com/sig/ggits/comm/server/process/work/GgitsPacketWorker.java

@@ -149,7 +149,7 @@ public class GgitsPacketWorker extends AbstractAppWorker implements Runnable {
                 int turnOff;            //2   소등 상태,                     1 : 소등, 0 : 정상
                 int blink;              //1   점멸 상태,                     1 : 점멸, 0 : 정상
                 int dbError;            //0   데이터베이스 상태,             1 : 이상, 0 : 정상
-            int holdPhase;      // PHASE HOLD 명령 또는 PPC에 의해 고정된 현시번호 (1-8)
+            int holdPhase;      // PHASE HOLD 명령 또는 PPC 에 의해 고정된 현시번호 (1-8)
             int omitPhase;      // PHASE OMIT 명령을 받은 현시번호 또는 감응제어에 의해 생략 중인 현시번호(1-8)
 
             long unixTimestamp = System.currentTimeMillis() / 1000L; // 초 단위로 변환
@@ -226,8 +226,8 @@ public class GgitsPacketWorker extends AbstractAppWorker implements Runnable {
 
                 if (operStts != 0) {
                     if (holdPhase > 0) {
-                        aRingPhase = holdPhase-1;
-                        bRingPhase = holdPhase-1;
+                        //aRingPhase = holdPhase-1;
+                        //bRingPhase = holdPhase-1;
                         ppcControl = "1";
                     }
                     if (policeManProg == 1 || policeMan == 1) {