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.UI/MaskWindow.xaml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HMI.UI/MaskWindow.xaml b/HMI.UI/MaskWindow.xaml
index c648b68..8dd9527 100644
--- a/HMI.UI/MaskWindow.xaml
+++ b/HMI.UI/MaskWindow.xaml
@@ -24,7 +24,7 @@
         <Style TargetType="Window">
             <Style.Triggers>
                 <DataTrigger Binding="{Binding Status}" Value="Info">
-                    <Setter Property="Background" Value="{StaticResource VerBar}"/>
+                    <Setter Property="Background" Value="{DynamicResource VerBar}"/>
                 </DataTrigger>
             </Style.Triggers>
         </Style>
@@ -34,14 +34,14 @@
             <RowDefinition Height="Auto"/>
             <RowDefinition />
         </Grid.RowDefinitions>
-        <Border Padding="10,5,0,5" Background="{StaticResource PrimaryColor}" CornerRadius="5,5,0,0">
+        <Border Padding="10,5,0,5" Background="{DynamicResource PrimaryColor}" CornerRadius="5,5,0,0">
             <Label Padding="5" FontSize="14" Margin="0" Foreground="#FFF" Content="{DynamicResource App.PleaseWait}"/>
         </Border>
 
         <StackPanel Grid.Row="1" Margin="20" Orientation="Horizontal" VerticalAlignment="Center"
                     HorizontalAlignment="Center">
             <TextBlock FontSize="45" 
-                       FontFamily="{StaticResource iconfont}" Foreground="{StaticResource PrimaryColor}" 
+                       FontFamily="{StaticResource iconfont}" Foreground="{DynamicResource PrimaryColor}" 
                        RenderTransformOrigin="0.5,0.5"
                        VerticalAlignment="Center" Text="&#xe891;">
                 <TextBlock.RenderTransform>

--
Gitblit v1.9.1