From ffc1d79815b6ca50cf07a132705b83156f2db97a Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 월, 20 6월 2022 10:47:27 +0900 Subject: [PATCH] Lift home 완료 후 Conveyor sensor에 닿을 경우 알람 발생. --- SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs b/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs index ebd0217..4acbbe2 100644 --- a/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs +++ b/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs @@ -435,7 +435,22 @@ } else { - _homeStep = LiftHomeSteps.S1300_MOVE_STAY_POSITION; + if (equipment.unloader.ConveyorOut.IsLiftInSensor || equipment.unloader.ConveyorOut.IsLiftInCompleteSensor) + { + if (equipment.unloader.ConveyorOut.IsLiftInSensor) + { + Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0742_ULD_TRAY_OK_CONVEYOR_LIFT_IN_SENSOR_CHECK); + } + + if (equipment.unloader.ConveyorOut.IsLiftInCompleteSensor) + { + Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0743_ULD_TRAY_OK_CONVEYOR_LIFT_IN_COMPLETE_SENSOR_CHECK); + } + } + else + { + _homeStep = LiftHomeSteps.S1300_MOVE_STAY_POSITION; + } } break; } @@ -1243,6 +1258,8 @@ { if (IsStayPosition) { + _trayCount = 0; + if (equipment.unloader.ConveyorOut.IsLiftInSensor || equipment.unloader.ConveyorOut.IsLiftInCompleteSensor) { Step = LiftOutSteps.S2420_CONVEYOR_UNLOAD; @@ -1270,7 +1287,6 @@ { if (equipment.unloader.ConveyorOut.Step == ConveyorOutSteps.S0000_WAIT) { - _trayCount = 0; if (equipment.cim_mode == En_Cim_Mode.Online) { Step = LiftOutSteps.S2500_PORT_STATUS_CIM_SEND; -- Gitblit v1.9.3