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 |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 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 bb8e77d..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;
                     }

--
Gitblit v1.9.3