From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 Plugin.TestResult/InfoTable.xaml |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/Plugin.TestResult/InfoTable.xaml b/Plugin.TestResult/InfoTable.xaml
index 6c1d26a..29a5670 100644
--- a/Plugin.TestResult/InfoTable.xaml
+++ b/Plugin.TestResult/InfoTable.xaml
@@ -31,16 +31,16 @@
             <RowDefinition/>
         </Grid.RowDefinitions>
         <Grid.ColumnDefinitions>
-            <ColumnDefinition Width="1*"/>
-            <ColumnDefinition Width="2*"/>
+            <ColumnDefinition Width="Auto"/>
             <ColumnDefinition Width="1.5*"/>
-            <ColumnDefinition Width="2*"/>
+            <ColumnDefinition Width="Auto"/>
             <ColumnDefinition Width="1.5*"/>
+            <ColumnDefinition Width="Auto"/>
             <ColumnDefinition Width="2*"/>
         </Grid.ColumnDefinitions>
-        <Label Grid.Row="0" Grid.Column="0">娓╁害</Label>
-        <Label Grid.Row="0" Grid.Column="1" Background="Yellow" Content="{Binding temperatureStr}"/>
-        <Label Grid.Row="0" Grid.Column="2">鐘舵��</Label>
+        <Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource Tr.Temperature}"/>
+        <Label Grid.Row="0" Grid.Column="1" Background="{DynamicResource CellValue}" Content="{Binding temperatureStr}"/>
+        <Label Grid.Row="0" Grid.Column="2" Content="{DynamicResource Tr.Status}"/>
         <Label Grid.Row="0" Grid.Column="3" Content="{Binding statusStr}">
             <Label.Style>
                 <Style TargetType="Label">
@@ -63,7 +63,7 @@
                             <Setter Property="Background" Value="#1296db"/>
                         </DataTrigger>
                         <DataTrigger Binding="{Binding status}" Value="waiting">
-                            <Setter Property="Background" Value="#6e6e6e"/>
+                            <Setter Property="Background" Value="#A5A5A5"/>
                         </DataTrigger>
                         <DataTrigger Binding="{Binding status}" Value="alert">
                             <Setter Property="Background" Value="#e04733"/>
@@ -71,18 +71,22 @@
                         <DataTrigger Binding="{Binding status}" Value="ready">
                             <Setter Property="Background" Value="#FF08FF00"/>
                         </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="abort">
+                            <Setter Property="Background" Value="Black"/>
+                            <Setter Property="Foreground" Value="White"/>
+                        </DataTrigger>
                     </Style.Triggers>
                 </Style>
             </Label.Style>
         </Label>
-        <Label Grid.Row="0" Grid.Column="4">鑰佸寲鏁伴噺</Label>
-        <Label Grid.Row="0" Grid.Column="5" Background="Yellow" Content="{Binding countStr}"/>
+        <Label Grid.Row="0" Grid.Column="4" Content="{DynamicResource Tr.Count}"/>
+        <Label Grid.Row="0" Grid.Column="5" Background="{DynamicResource CellValue}" Content="{Binding countStr}"/>
 
-        <Label Grid.Row="1" Grid.Column="0">寮�濮嬫椂闂�</Label>
-        <Label Grid.Row="1" Grid.Column="1" Background="Yellow" Content="{Binding startTimeStr}"/>
-        <Label Grid.Row="1" Grid.Column="2">宸茶�佸寲鏃堕棿</Label>
-        <Label Grid.Row="1" Grid.Column="3" Background="Yellow" Content="{Binding consumeTimeStr}"/>
-        <Label Grid.Row="1" Grid.Column="4">棰勮缁撴潫鏃堕棿</Label>
-        <Label Grid.Row="1" Grid.Column="5" Background="Yellow" Content="{Binding endTimeStr}"/>
+        <Label Grid.Row="1" Grid.Column="0" Content="{DynamicResource Tr.StartTime}"/>
+        <Label Grid.Row="1" Grid.Column="1" Background="{DynamicResource CellValue}" Content="{Binding startTimeStr}"/>
+        <Label Grid.Row="1" Grid.Column="2" Content="{DynamicResource Tr.ElapsedTime}"/>
+        <Label Grid.Row="1" Grid.Column="3" Background="{DynamicResource CellValue}" Content="{Binding consumeTimeStr}"/>
+        <Label Grid.Row="1" Grid.Column="4" Content="{DynamicResource Tr.EstimatedEndTime}"/>
+        <Label Grid.Row="1" Grid.Column="5" Background="{DynamicResource CellValue}" Content="{Binding endTimeStr}"/>
     </Grid>
 </UserControl>

--
Gitblit v1.9.1