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.DeviceDebug/Entity/DebugOperation.cs | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/Plugin.DeviceDebug/Entity/DebugOperation.cs b/Plugin.DeviceDebug/Entity/DebugOperation.cs
new file mode 100644
index 0000000..1a1d165
--- /dev/null
+++ b/Plugin.DeviceDebug/Entity/DebugOperation.cs
@@ -0,0 +1,27 @@
+using System;
+using CommunityToolkit.Mvvm.ComponentModel;
+
+namespace Plugin.DeviceDebug.Entity
+{
+ /// <summary>
+ /// 鎿嶄綔瀹¤瀹炰綋 - 璁板綍姣忔璋冭瘯鎿嶄綔
+ /// </summary>
+ public partial class DebugOperation : ObservableObject
+ {
+ public DebugOperation()
+ {
+ OperationId = Guid.NewGuid().ToString();
+ Timestamp = DateTime.Now;
+ }
+
+ [ObservableProperty] private string _operationId = string.Empty;
+ [ObservableProperty] private string _sessionId = string.Empty; // FK 鈫� DebugSession
+ [ObservableProperty] private string _commandType = string.Empty; // PowerSet/PowerGet/OutputOn/OutputOff/CanSend/PlcWrite绛�
+ [ObservableProperty] private string _parameters = string.Empty; // JSON瀛楃涓�
+ [ObservableProperty] private string _outcome = string.Empty; // Success/Failed/Rejected/Timeout
+ [ObservableProperty] private string _deviceReadback = string.Empty;
+ [ObservableProperty] private string _errorCode = string.Empty;
+ [ObservableProperty] private string _errorMessage = string.Empty;
+ [ObservableProperty] private DateTime _timestamp = DateTime.Now;
+ }
+}
--
Gitblit v1.9.1