Browse Source

충전 알람 수정. 실린더 전진 경고, 실린더 감지 안됨 경고 추가

SK.Kang 4 years ago
parent
commit
dc172411d5

BIN
Dev/OHV/OHV.Vehicle/Config/AlarmDefind.xlsx


+ 3 - 5
Dev/OHV/VehicleControlSystem/ControlLayer/Vehicle.cs

@@ -1722,18 +1722,16 @@ namespace VehicleControlSystem.ControlLayer
             while (!IsChargeCylinderForword())
             {
                 LockUtils.Wait(10);
-                if (SwUtils.Gt(sTime, 5000))
+                if (SwUtils.Gt(sTime, 10 * ConstUtils.ONE_SECOND))
                 {
                     PIOClear();
-                    return 45; //Alarm ID 추가.
+                    return 47; //Alarm ID 추가.
                 }
             }
 
             this.refObjects.IO.WriteOutputIO("OUT_PIO_RECEIVE_RUN", true);
             loggerPIO.I("[Vehicle] - 5 Receive Run On");
 
-            //this.VehicleStateProperty = eVehicleState.Charge;
-
             return 0;
 #endif
 
@@ -1795,7 +1793,7 @@ namespace VehicleControlSystem.ControlLayer
                 if (SwUtils.Gt(sTime, 5000))
                 {
                     PIOClear();
-                    return 44; //Alarm ID 추가.
+                    return 48; //Alarm ID 추가.
                 }
             }