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.BurnIn/InfoTable.xaml |   92 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 92 insertions(+), 0 deletions(-)

diff --git a/Plugin.BurnIn/InfoTable.xaml b/Plugin.BurnIn/InfoTable.xaml
new file mode 100644
index 0000000..8d6ae8a
--- /dev/null
+++ b/Plugin.BurnIn/InfoTable.xaml
@@ -0,0 +1,92 @@
+锘�<UserControl x:Class="Plugin.BurnIn.InfoTable"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+             xmlns:local="clr-namespace:Plugin.BurnIn"
+             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"
+             d:DesignHeight="450" d:DesignWidth="800">
+    <UserControl.Resources>
+        <Style TargetType="Label">
+            <Setter Property="VerticalContentAlignment" Value="Center"/>
+            <Setter Property="FontWeight" Value="Bold"/>
+        </Style>
+        <Style TargetType="TextBox">
+            <Setter Property="VerticalContentAlignment" Value="Center"/>
+            <Setter Property="FontWeight" Value="Bold"/>
+            <Setter Property="IsReadOnly" Value="True"/>
+            <Setter Property="BorderThickness" Value="0"/>
+        </Style>
+    </UserControl.Resources>
+    <Grid x:Name="infoGrid" Grid.Row="0" dp:GridHelper.InnerBorder="1" 
+          dp:GridHelper.InnerBorderIgnore="Top,Right,Bottom">
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="Auto"/>
+            <ColumnDefinition Width="1.5*"/>
+            <ColumnDefinition Width="Auto"/>
+            <ColumnDefinition Width="1.5*"/>
+            <ColumnDefinition Width="Auto"/>
+            <ColumnDefinition Width="2*"/>
+        </Grid.ColumnDefinitions>
+        <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">
+                    <Setter Property="FontWeight" Value="Bold"/>
+                    <Setter Property="VerticalContentAlignment" Value="Center"/>
+                    <Style.Triggers>
+                        <DataTrigger Binding="{Binding status}" Value="ok">
+                            <Setter Property="Background" Value="#FF0F8853"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="ng">
+                            <Setter Property="Background" Value="#fd6b6d"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="checkInFailed">
+                            <Setter Property="Background" Value="#ffac00"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="checkIn">
+                            <Setter Property="Background" Value="#FF00E2FF"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="testing">
+                            <Setter Property="Background" Value="#1296db"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="waiting">
+                            <Setter Property="Background" Value="#A5A5A5"/>
+                        </DataTrigger>
+                        <DataTrigger Binding="{Binding status}" Value="alert">
+                            <Setter Property="Background" Value="#e04733"/>
+                        </DataTrigger>
+                        <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" Content="{DynamicResource Tr.Count}"/>
+        <Label Grid.Row="0" Grid.Column="5" Background="{DynamicResource CellValue}" Content="{Binding countStr}"/>
+
+        <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