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/LoaderLiftIn.cs | 1 + SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftOk.cs | 3 ++- SHARP_CLAS_UI/500.Equipment/Equipment.cs | 2 +- SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftOut.cs | 3 ++- SHARP_CLAS_UI/500.Equipment/700.Unit/400.Unloader/UnloaderLiftIn.cs | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs index 129b481..6e45a83 100644 --- a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs +++ b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs @@ -1757,6 +1757,7 @@ if (IsStayPosition) { equipment.LoaderInTrayCount = 0; + _trayCount = 0; if (equipment.loader.ConveyorIn.IsLiftInSensor || equipment.loader.ConveyorIn.IsLiftInCompleteSensor) { 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; 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..d9afa2f 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 @@ -1472,6 +1472,7 @@ if (IsStayPosition) { equipment.UnloaderInTrayCount = 0; + _trayCount = 0; if (equipment.unloader.ConveyorIn.IsLiftInSensor || equipment.unloader.ConveyorIn.IsLiftInCompleteSensor) { 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; diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs index d91de77..7cfea2b 100644 --- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs +++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs @@ -547,7 +547,7 @@ private User_Info _user; private SequenceTimer _modeChangeTime = new SequenceTimer(); - private string _programVersion = "001.001.001"; + private string _programVersion = "001.001.002"; #endregion #region Construct -- Gitblit v1.9.3