From a3ba25607612818c28d421bfa8eb2f92339d71ac Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 13 三月 2025 20:30:48 +0800
Subject: [PATCH] 优化项目;

---
 Plugin.TestResult/DataTable.xaml |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/Plugin.TestResult/DataTable.xaml b/Plugin.TestResult/DataTable.xaml
index 3c260c0..12d9661 100644
--- a/Plugin.TestResult/DataTable.xaml
+++ b/Plugin.TestResult/DataTable.xaml
@@ -4,6 +4,12 @@
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
              xmlns:local="clr-namespace:Plugin.TestResult_WPF"
+            xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
+xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
+xmlns:pw="https://opensource.panuon.com/wpf"
+xmlns:pu="https://opensource.panuon.com/wpf-ui"
+xmlns:ui="clr-namespace:HMI.UI;assembly=HMI.UI"
+xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
              mc:Ignorable="d"
              Background="#FFF"
              BorderBrush="Black"
@@ -28,19 +34,17 @@
                 <ColumnDefinition Width="Auto"/>
                 <ColumnDefinition/>
             </Grid.ColumnDefinitions>
-            <Label Grid.Row="0" Grid.Column="0" Grid.RowSpan="1" FontSize="20" FontWeight="Bold" 
+            <Label Grid.Row="0" Grid.RowSpan="1" FontSize="20" FontWeight="Bold" 
                    Padding="0,0,20,0"
-                   BorderThickness="0,0,0,1"
-                   BorderBrush="Black"
-                   VerticalContentAlignment="Center" Background="Transparent" Content="{Binding title}"/>
+                   BorderThickness="0"
+                   VerticalContentAlignment="Stretch" Background="Transparent" Content="{Binding title}"/>
             <local:InfoTable x:Name="infoTable" Grid.Row="0" Grid.Column="1"
                FontSize="{Binding ActualWidth,RelativeSource={RelativeSource AncestorType=UserControl}, 
-            Converter={StaticResource FontSizeConverter}, ConverterParameter='15,940'}" 
-                             ></local:InfoTable>
+            Converter={StaticResource FontSizeConverter}, ConverterParameter='15,940'}"></local:InfoTable>
         </Grid>
 
-        <UniformGrid x:Name="mainGrid" Grid.Row="1" Columns="6" local:GridProperties.ShowBorder="True"
-                     local:GridProperties.InnerBorderIgnore="All">
+        <UniformGrid x:Name="mainGrid" Grid.Row="1" Columns="6" dp:UniformGridHelper.InnerBorder="1"
+                     dp:UniformGridHelper.InnerBorderIgnore="Left,Right,Bottom">
         </UniformGrid>
 
         <!--<local:Chart Grid.Row="2" x:Name="chart" BorderThickness="0,1,0,1" BorderBrush="Black" 
@@ -79,6 +83,8 @@
             </StatusBarItem>
         </StatusBar>
 
-        <Button Grid.Row="4" Margin="0" Click="SetStationGlobal_Click" BorderThickness="0,1,0,0">鍚姩</Button>
+        <Button Grid.Row="4" Click="SetStationGlobal_Click" Style="{StaticResource SuccessButton}"
+                Content="{DynamicResource App.Start}"
+                />
     </Grid>
 </UserControl>
\ No newline at end of file

--
Gitblit v1.9.1