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.DeviceConfig/Entity/DeviceChannel.cs | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/Plugin.DeviceConfig/Entity/DeviceChannel.cs b/Plugin.DeviceConfig/Entity/DeviceChannel.cs
new file mode 100644
index 0000000..2e2df93
--- /dev/null
+++ b/Plugin.DeviceConfig/Entity/DeviceChannel.cs
@@ -0,0 +1,57 @@
+using CommunityToolkit.Mvvm.ComponentModel;
+
+namespace Plugin.DeviceConfig.Entity
+{
+ /// <summary>
+ /// 璁惧閫氶亾瀹炰綋
+ /// </summary>
+ public partial class DeviceChannel : ObservableObject
+ {
+ /// <summary>
+ /// 鏃犲弬鏋勯�犲嚱鏁帮紙鐢ㄤ簬鏁版嵁缁戝畾锛�
+ /// </summary>
+ public DeviceChannel() { }
+
+ /// <summary>
+ /// 鎵�灞炶澶嘔D锛堣仈鍚堜富閿箣涓�锛�
+ /// </summary>
+ [ObservableProperty]
+ private string deviceId = string.Empty;
+
+ /// <summary>
+ /// 閫氶亾缂栧彿锛堣仈鍚堜富閿箣涓�锛�
+ /// </summary>
+ [ObservableProperty]
+ private int channelId;
+
+ /// <summary>
+ /// 閫氶亾鑳藉姏鎻忚堪
+ /// </summary>
+ [ObservableProperty]
+ private string capability = string.Empty;
+
+ /// <summary>
+ /// 鏈�澶х數鍘�
+ /// </summary>
+ [ObservableProperty]
+ private double maxVoltage;
+
+ /// <summary>
+ /// 鏈�澶х數娴�
+ /// </summary>
+ [ObservableProperty]
+ private double maxCurrent;
+
+ /// <summary>
+ /// 闄愬埗鏉′欢锛圝SON鏍煎紡锛�
+ /// </summary>
+ [ObservableProperty]
+ private string limits = "{}";
+
+ /// <summary>
+ /// 浼氳瘽瀵嗛挜
+ /// </summary>
+ [ObservableProperty]
+ private string sessionKey = string.Empty;
+ }
+}
--
Gitblit v1.9.1