From d996f177771642bf49bf40bffd8218db42483d3d Mon Sep 17 00:00:00 2001
From: 천호석 <hosuk1418@naver.com>
Date: 금, 02 12월 2022 17:38:11 +0900
Subject: [PATCH] 장비 auto mode가 아닐 때 power meter 위치에서 벗어나 laser on 할 시 laser off 후 interlock 발생.

---
 SHARP_CLAS_UI/500.Equipment/Equipment.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs
index 9014391..4a9ce5f 100644
--- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs
+++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs
@@ -1000,9 +1000,13 @@
 
                 if(equip_mode != En_Equipment_Mode.Auto) // Auto mode媛� �븘�땺 �븣 
                 {
-                    if(units.Exists(x => x.UnitMode != equip_mode) == false) //�옣鍮� �긽�깭媛� �떎瑜멸쾶 �엳�뒗吏� �솗�씤
+                    if(equip_mode == En_Equipment_Mode.Pause && units.Exists(x => x.UnitMode != equip_mode))
                     {
-                        if(process.ablation.Get_Is_Position_X_Power_Meter() && process.ablation.Get_Is_Position_Z_Power_Meter())
+                        // Pause wait �긽�깭 �씪 �븣�뒗 interlock 諛쒖깮 X
+                    }
+                    else
+                    {
+                        if (process.ablation.Get_Is_Position_X_Power_Meter() && process.ablation.Get_Is_Position_Z_Power_Meter())
                         {
                             if (sm.Get_Bit(Input_Memory_Address.Laser_Active))
                             {

--
Gitblit v1.9.3