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.JarUI/JarUI.xaml.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Plugin.JarUI/JarUI.xaml.cs b/Plugin.JarUI/JarUI.xaml.cs
index 4313b08..2279e7a 100644
--- a/Plugin.JarUI/JarUI.xaml.cs
+++ b/Plugin.JarUI/JarUI.xaml.cs
@@ -14,7 +14,6 @@
 using System.IO;
 using System.IO.Ports;
 using System.Linq;
-using System.Reflection;
 using System.Windows;
 using System.Windows.Controls;
 
@@ -447,6 +446,7 @@
             try
             {
                 SequenceContext?.StationGlobals.SetValBoolean("StationState.StopTest", 1, true);
+                log.Info($"Stop Result: {SequenceContext?.StationGlobals.GetValBoolean("StationState.StopTest", 1)}");
                 if (this.execution == null) return true;
                 return this.execution.WaitForEndEx(2000, true, null, null);
             }
@@ -616,6 +616,9 @@
                         int index2 = int.Parse(arr2[0]);
                         this.tsSockets[index2].SetInfo(arr2[1]);
                         break;
+                    case 8:
+                        IsRunning = false;
+                        break;
                     default:
                         break;
                 }

--
Gitblit v1.9.1