From 0ced3ee4e65354419392c757b9502d1670f8888c Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 월, 21 11월 2022 09:58:09 +0900 Subject: [PATCH] Door open 상태에서 진행되지 않도록 수정. --- SHARP_CLAS_UI/500.Equipment/Equipment.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs index 5cf1253..84c27e2 100644 --- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs +++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs @@ -1462,6 +1462,12 @@ return false; } + if(Door_Opened) + { + Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please door close."); + return false; + } + if(!Is_Home_Complete) { Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please Set Home."); -- Gitblit v1.9.3