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/ManualDebug/StatusBtn.xaml.cs | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/Plugin.BurnIn/ManualDebug/StatusBtn.xaml.cs b/Plugin.BurnIn/ManualDebug/StatusBtn.xaml.cs
new file mode 100644
index 0000000..7a0551a
--- /dev/null
+++ b/Plugin.BurnIn/ManualDebug/StatusBtn.xaml.cs
@@ -0,0 +1,40 @@
+锘縰sing CommunityToolkit.Mvvm.ComponentModel;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Plugin.BurnIn
+{
+ // 鐘舵�佹灇涓�
+ public enum DebugStatus
+ {
+ Idle = 0, // 绌洪棽
+ Testing = 1, // 娴嬭瘯涓�
+ OK = 2, // 閫氳繃
+ NG = 3 // 澶辫触
+ }
+ /// <summary>
+ /// StatusBtn.xaml 鐨勪氦浜掗�昏緫
+ /// </summary>
+ [ObservableObject]
+ public partial class StatusBtn : UserControl
+ {
+ public event RoutedEventHandler BtnClick;
+
+ public StatusBtn()
+ {
+ DataContext = this;
+ InitializeComponent();
+ }
+
+ [ObservableProperty]
+ private string title = string.Empty;
+
+ [ObservableProperty]
+ private DebugStatus status = DebugStatus.Idle;
+
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ BtnClick?.Invoke(this, e);
+ }
+ }
+}
--
Gitblit v1.9.1