From b59a4605c463e57f28f2a283078270a40bac06e4 Mon Sep 17 00:00:00 2001 From: tfarcraw <123211521@163.com> Date: Wed, 12 Aug 2026 10:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E5=8C=96=E6=9F=9C=E6=9C=AA=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ViewModel/MainWindowVM.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ViewModel/MainWindowVM.cs b/ViewModel/MainWindowVM.cs index 5ecba0a..b5575bc 100644 --- a/ViewModel/MainWindowVM.cs +++ b/ViewModel/MainWindowVM.cs @@ -2022,9 +2022,12 @@ namespace ViewModel ExcepStop("PLC未连接"); continue; } + if (Laohuagui.Showmsg.StatusBackground != ColorStr.Green) - - + { + ExcepStop("老化柜未连接"); + continue; + } if (powerTime.AddSeconds(1) < DateTime.Now) { powerTime = DateTime.Now;