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/000.Loader/LoaderLiftOut.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftOut.cs b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftOut.cs
index cc0066b..27e7992 100644
--- a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftOut.cs
+++ b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftOut.cs
@@ -1100,6 +1100,8 @@
                         {
                             if (IsStayPosition)
                             {
+                                _trayCount = 0;
+
                                 if (equipment.loader.ConveyorOut.IsLiftInSensor || equipment.loader.ConveyorOut.IsLiftInCompleteSensor)
                                 {
                                     Step = LiftOutSteps.S2420_CONVEYOR_UNLOAD;
@@ -1128,7 +1130,6 @@
                     {
                         if (equipment.loader.ConveyorOut.IsWorkEnd)
                         {
-                            _trayCount = 0;
                             if (equipment.cim_mode == En_Cim_Mode.Online)
                             {
                                 Step = LiftOutSteps.S2500_PORT_STATUS_CIM_SEND;

--
Gitblit v1.9.3