From 706896efd6b2ec43ce3cdd948aca85ef36f93ed7 Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 화, 06 12월 2022 13:50:57 +0900 Subject: [PATCH] Auto power 측정 중 Laser On 상태에서 power meter 측정 위치가 아닐 시 Laser off후 sequence step 초기화. --- SHARP_CLAS_UI/100.Screen/Form_Main.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/SHARP_CLAS_UI/100.Screen/Form_Main.cs b/SHARP_CLAS_UI/100.Screen/Form_Main.cs index b9854f8..5980e68 100644 --- a/SHARP_CLAS_UI/100.Screen/Form_Main.cs +++ b/SHARP_CLAS_UI/100.Screen/Form_Main.cs @@ -178,7 +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) + { + 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