From c6b6801427b900d82d726eae0808c1beaf86df3b Mon Sep 17 00:00:00 2001
From: 천호석 <hosuk1418@naver.com>
Date: 금, 17 6월 2022 15:14:36 +0900
Subject: [PATCH] Unload시 tray가 없어도 내부 tray count 초기화 하도록 추가.

---
 SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs |    3 ++-
 1 files changed, 2 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 ebd0217..bb8e77d 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
@@ -1243,6 +1243,8 @@
                         {
                             if (IsStayPosition)
                             {
+                                _trayCount = 0;
+
                                 if (equipment.unloader.ConveyorOut.IsLiftInSensor || equipment.unloader.ConveyorOut.IsLiftInCompleteSensor)
                                 {
                                     Step = LiftOutSteps.S2420_CONVEYOR_UNLOAD;
@@ -1270,7 +1272,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