천호석
2022-11-21 14f07cdcb29fbae3cc55e217201c9cbfdd99e4d8
SHARP_CLAS_UI/100.Screen/Form_Main.cs
@@ -182,6 +182,12 @@
                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");
                return;
            }
            Button data = (Button)sender;
            _Parent.WriteButtonLog($"{this.Name},{data.Name}");
            _Parent._equip.Board_Control.IO_manager.Set_Output(OutputData.Safety_Mode_SW_Unlock, !_Parent.sm.Get_Bit(Output_Memory_Address.Safety_Mode_SW_Unlock));