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/UnloaderLiftIn.cs | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftIn.cs b/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftIn.cs index ac935e3..62a7eed 100644 --- a/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftIn.cs +++ b/SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftIn.cs @@ -415,7 +415,22 @@ } else { - _homeStep = LiftHomeSteps.S1300_MOVE_STAY_POSITION; + if (equipment.unloader.ConveyorIn.IsLiftInSensor || equipment.unloader.ConveyorIn.IsLiftInCompleteSensor) + { + if (equipment.unloader.ConveyorIn.IsLiftInSensor) + { + Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0702_ULD_TRAY_EMPTY_CONVEYOR_LIFT_IN_SENSOR_CHECK); + } + + if (equipment.unloader.ConveyorIn.IsLiftInCompleteSensor) + { + Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0703_ULD_TRAY_EMPTY_CONVEYOR_LIFT_IN_COMPLETE_SENSOR_CHECK); + } + } + else + { + _homeStep = LiftHomeSteps.S1300_MOVE_STAY_POSITION; + } } break; } @@ -1472,6 +1487,7 @@ if (IsStayPosition) { equipment.UnloaderInTrayCount = 0; + _trayCount = 0; if (equipment.unloader.ConveyorIn.IsLiftInSensor || equipment.unloader.ConveyorIn.IsLiftInCompleteSensor) { -- Gitblit v1.9.3