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 并发验证用例

---
 Plugin.CurrentSensorControl/BurnInOvenCollection.xaml.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Plugin.CurrentSensorControl/BurnInOvenCollection.xaml.cs b/Plugin.CurrentSensorControl/BurnInOvenCollection.xaml.cs
index 6da0961..0273756 100644
--- a/Plugin.CurrentSensorControl/BurnInOvenCollection.xaml.cs
+++ b/Plugin.CurrentSensorControl/BurnInOvenCollection.xaml.cs
@@ -1,5 +1,6 @@
-锘縰sing Plugin.CurrentSensorControl.Entity;
-using System.Drawing;
+锘縰sing HMI.Core.Setting;
+using PLCHelper;
+using Plugin.CurrentSensorControl.Entity;
 using System.Windows.Controls;
 
 namespace Plugin.CurrentSensorControl
@@ -24,6 +25,7 @@
 
         public void InitMainGrid()
         {
+            S7Context.Init(SystemSetting.Instance.PlcIp, SystemSetting.Instance.PlcPort);
             this.rowCount = config.Row;
             this.colCount = config.Column;
             ovens = new BurnInOven[this.rowCount * this.colCount];

--
Gitblit v1.9.1