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.DeviceDebug/DeviceDebugTab.xaml.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Plugin.DeviceDebug/DeviceDebugTab.xaml.cs b/Plugin.DeviceDebug/DeviceDebugTab.xaml.cs
index e868f3e..adbff2b 100644
--- a/Plugin.DeviceDebug/DeviceDebugTab.xaml.cs
+++ b/Plugin.DeviceDebug/DeviceDebugTab.xaml.cs
@@ -432,6 +432,11 @@
CurrentSession = null;
log.Info($"璁惧 {BoundDeviceId} 浼氳瘽宸插叧闂紝缁存姢绉熺害宸查噴鏀�");
}
+
+ // 閲嶆柊鎵撳紑 ReadOnly 浼氳瘽锛岃鐢ㄦ埛鍙互鍐嶆杩涘叆缁存姢妯″紡
+ CurrentSession = _sessionManager.OpenSession(BoundDeviceId, "", "operator", CurrentEffectiveVersion);
+ UpdateButtonStates();
+ LoadOperationLogs();
}
catch (Exception ex)
{
--
Gitblit v1.9.1