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/Cooler.xaml | 77 ++++++++++++++++++++++++++++++++++++++
1 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/Plugin.BurnIn/Cooler.xaml b/Plugin.BurnIn/Cooler.xaml
new file mode 100644
index 0000000..1f75d21
--- /dev/null
+++ b/Plugin.BurnIn/Cooler.xaml
@@ -0,0 +1,77 @@
+锘�<UserControl x:Class="Plugin.BurnIn.Cooler"
+ 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"
+ mc:Ignorable="d"
+ xmlns:pu="https://opensource.panuon.com/wpf-ui"
+ d:DesignHeight="450" d:DesignWidth="800">
+ <GroupBox Header="{Binding Title}">
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition />
+ <RowDefinition Height="Auto"/>
+ </Grid.RowDefinitions>
+ <Label x:Name="label">
+ <Label.Style>
+ <Style TargetType="Label">
+ <Setter Property="HorizontalContentAlignment" Value="Center"/>
+ <Setter Property="VerticalContentAlignment" Value="Center"/>
+ <Style.Triggers>
+ <DataTrigger Binding="{Binding Status}" Value="0">
+ <Setter Property="Background" Value="Gray"/>
+ <Setter Property="Content" Value="鍋滄"/>
+ </DataTrigger>
+ <DataTrigger Binding="{Binding Status}" Value="1">
+ <Setter Property="Content" Value="杩愭按涓�"/>
+ </DataTrigger>
+ <DataTrigger Binding="{Binding Status}" Value="2">
+ <Setter Property="Background" Value="Gray"/>
+ <Setter Property="Content" Value="{Binding LabelContent}"/>
+ </DataTrigger>
+ <DataTrigger Binding="{Binding Status}" Value="3">
+ <Setter Property="Background" Value="Gray"/>
+ <Setter Property="Content" Value="娴嬪帇涓�"/>
+ </DataTrigger>
+ </Style.Triggers>
+ </Style>
+ </Label.Style>
+ </Label>
+ <StackPanel Grid.Row="1">
+ <!--<Button Click="Button_Click" Style="{StaticResource PrimaryButton}" Tag="1" IsEnabled="False" Content="杩愭按"/>-->
+ <Button Click="Start_Click" Tag="2" x:Name="startBtn" Content="鍚规按">
+ <Button.Style>
+ <Style TargetType="Button" BasedOn="{StaticResource PrimaryButton}">
+ <Style.Triggers>
+ <DataTrigger Binding="{Binding Status}" Value="2">
+ <Setter Property="IsEnabled" Value="False"/>
+ </DataTrigger>
+ </Style.Triggers>
+ </Style>
+ </Button.Style>
+ </Button>
+ <!--<Button Click="Button_Click" Style="{StaticResource PrimaryButton}" Tag="3" IsEnabled="False" Content="娴嬪帇"/>-->
+ <Button Click="Stop_Click" Style="{StaticResource DangerButton}" Tag="0" Content="鍋滄" Cursor="Hand"/>
+ <!--<Button.Style>
+ <Style TargetType="Button" BasedOn="{StaticResource PrimaryButton}">
+ <Setter Property="Content" Value="鎵嬪姩鍚规按"/>
+ <Setter Property="IsEnabled" Value="False"/>
+ <Style.Triggers>
+ <DataTrigger Binding="{Binding Status}" Value="0">
+ <Setter Property="Content" Value="鎵嬪姩鍚规按"/>
+ <Setter Property="IsEnabled" Value="True"/>
+ <Setter Property="Background" Value="{DynamicResource SuccessColor}"/>
+ </DataTrigger>
+ <DataTrigger Binding="{Binding Status}" Value="2">
+ <Setter Property="Content" Value="鍋滄鍚规按"/>
+ <Setter Property="IsEnabled" Value="True"/>
+ <Setter Property="Background" Value="{DynamicResource DangerColor}"/>
+ </DataTrigger>
+ </Style.Triggers>
+ </Style>
+ </Button.Style>-->
+ </StackPanel>
+ </Grid>
+ </GroupBox>
+</UserControl>
--
Gitblit v1.9.1