From b544d5cccd76735e034c8055918a50927b437474 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期二, 10 十一月 2026 08:29:04 +0800
Subject: [PATCH] fix: 维护模式重复进入失败与按钮灰死 + Broker 并发验证用例
---
HMI.Base/PluginControl.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/HMI.Base/PluginControl.cs b/HMI.Base/PluginControl.cs
index 9239015..88c7fcf 100644
--- a/HMI.Base/PluginControl.cs
+++ b/HMI.Base/PluginControl.cs
@@ -75,5 +75,15 @@
{
}
+
+ public virtual bool CanActive()
+ {
+ return true;
+ }
+
+ public virtual bool CanDeActive()
+ {
+ return true;
+ }
}
}
--
Gitblit v1.9.1