From 50b35174180ccb34dda39251393ba031ca69e69e Mon Sep 17 00:00:00 2001
From: 천호석 <hosuk1418@naver.com>
Date: 금, 02 12월 2022 17:34:09 +0900
Subject: [PATCH] auto power 측정시 laser 출사 위치에서 power meter위치가 아닐 때 laser off 후 첫 step으로 이동

---
 SHARP_CLAS_UI/100.Screen/Form_Main.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/SHARP_CLAS_UI/100.Screen/Form_Main.cs b/SHARP_CLAS_UI/100.Screen/Form_Main.cs
index 8c15d1b..5980e68 100644
--- a/SHARP_CLAS_UI/100.Screen/Form_Main.cs
+++ b/SHARP_CLAS_UI/100.Screen/Form_Main.cs
@@ -178,13 +178,15 @@
         {
             if (_Parent._equip.Door_Opened)
             {
-                Interlock_Manager.Add_Interlock_Msg("Key switch can't change.", "Door is opened");
+                MessageBox.Show("Key switch can't change, Door is opened.");
+                //Interlock_Manager.Add_Interlock_Msg("Key switch can't change.", "Door is opened");
                 return;
             }
 
             if (_Parent._equip.equip_mode == En_Equipment_Mode.Auto && _Parent.sm.Get_Bit(Output_Memory_Address.Safety_Mode_SW_Unlock) == false)
             {
-                Interlock_Manager.Add_Interlock_Msg("Key switch can't change.", "Equipment mode is Auto");
+                MessageBox.Show("Key switch can't change, Equipment mode is Auto");
+                //Interlock_Manager.Add_Interlock_Msg("Key switch can't change.", "Equipment mode is Auto");
                 return;
             }
 

--
Gitblit v1.9.3