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.JarUI/JarCell.xaml |   80 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 80 insertions(+), 0 deletions(-)

diff --git a/Plugin.JarUI/JarCell.xaml b/Plugin.JarUI/JarCell.xaml
new file mode 100644
index 0000000..5a01dd6
--- /dev/null
+++ b/Plugin.JarUI/JarCell.xaml
@@ -0,0 +1,80 @@
+锘�<UserControl x:Class="Plugin.JarUI.JarCell"
+             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.JarUI"
+             mc:Ignorable="d"
+             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:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
+             Padding="10"
+             d:DesignHeight="450" d:DesignWidth="800">
+    <UserControl.Resources>
+        <Brush x:Key="passedColor">#beed00</Brush>
+    </UserControl.Resources>
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="Auto"/>
+            <RowDefinition Height="Auto"/>
+            <RowDefinition />
+        </Grid.RowDefinitions>
+
+        <pu:FormGroup Orientation="Vertical" HeaderHeight="Auto" HeaderPadding="0">
+            <pu:FormGroup.Header>
+                <TextBlock Foreground="#000" Text="{Binding SnText}"/>
+            </pu:FormGroup.Header>
+            <TextBox x:Name="TbSn" Style="{StaticResource EditorTextBoxStyle}" />
+        </pu:FormGroup>
+
+        <pu:FormGroup Grid.Row="1" Orientation="Vertical" HeaderHeight="Auto" HeaderPadding="0">
+            <pu:FormGroup.Header>
+                <TextBlock Foreground="#000" Text="{DynamicResource App.Status}"/>
+            </pu:FormGroup.Header>
+            <Label Margin="0" Padding="0,10" 
+       HorizontalContentAlignment="Center" 
+       VerticalContentAlignment="Center">
+                <Label.Style>
+                    <Style TargetType="Label">
+                        <Setter Property="Content" Value="{Binding Status}"/>
+                        <Setter Property="FontSize" Value="30"/>
+                        <Style.Triggers>
+                            <DataTrigger Binding="{Binding Status}" Value="Ready">
+                                <Setter Property="Background" Value="DeepSkyBlue"/>
+                            </DataTrigger>
+                            <DataTrigger Binding="{Binding Status}" Value="Passed">
+                                <Setter Property="Background" Value="{StaticResource passedColor}"/>
+                            </DataTrigger>
+                            <DataTrigger Binding="{Binding Status}" Value="Failed">
+                                <Setter Property="Background" Value="{DynamicResource DangerColor}"/>
+                            </DataTrigger>
+                            <DataTrigger Binding="{Binding Status}" Value="Testing">
+                                <Setter Property="Background" Value="Gold"/>
+                            </DataTrigger>
+                        </Style.Triggers>
+                    </Style>
+                </Label.Style>
+            </Label>
+        </pu:FormGroup>
+
+        <pu:FormGroup Grid.Row="2" Orientation="Vertical" HeaderHeight="Auto" HeaderPadding="0">
+            <pu:FormGroup.Header>
+                <TextBlock Foreground="#000" Text="{DynamicResource App.Info}"/>
+            </pu:FormGroup.Header>
+            <Label Margin="0" Padding="0,10" 
+HorizontalContentAlignment="Center" 
+VerticalContentAlignment="Center">
+                <Label.Style>
+                    <Style TargetType="Label">
+                        <Setter Property="Content" Value="{Binding Info}"/>
+                        <Setter Property="FontSize" Value="30"/>
+                        <Setter Property="Background" Value="#e8e8e8"/>
+                    </Style>
+                </Label.Style>
+            </Label>
+        </pu:FormGroup>
+
+    </Grid>
+</UserControl>

--
Gitblit v1.9.1