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.SeqEditor/Entity/VarUI.cs |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/Plugin.SeqEditor/Entity/VarUI.cs b/Plugin.SeqEditor/Entity/VarUI.cs
new file mode 100644
index 0000000..c050503
--- /dev/null
+++ b/Plugin.SeqEditor/Entity/VarUI.cs
@@ -0,0 +1,58 @@
+锘縰sing CommunityToolkit.Mvvm.ComponentModel;
+using NationalInstruments.TestStand.Interop.API;
+using Plugin.SeqEditor.Util;
+using System.Collections.ObjectModel;
+
+namespace Plugin.SeqEditor.Entity
+{
+    public partial class VarUI : ObservableObject
+    {
+        private string prefix;
+        private PropertyObject propertyObject;
+
+        public VarUI(PropertyObject po)
+        {
+            this.propertyObject = po;
+        }
+
+        [ObservableProperty]
+        private ObservableCollection<VarUI> subProperties = new ObservableCollection<VarUI>();
+
+        public string Name
+        {
+            get => propertyObject?.Name;
+            set
+            {
+                if (propertyObject != null)
+                {
+                    propertyObject.Name = value;
+                    OnPropertyChanged(Name);
+                }
+            }
+        }
+
+        public string Value
+        {
+            get => propertyObject?.GetValueString();
+            set
+            {
+                propertyObject?.SetValueString(value);
+            }
+        }
+
+        public PropertyValueTypes? Type
+        {
+            get => propertyObject?.Type?.ValueType;
+        }
+
+        public PropertyValueTypes? ElementType
+        {
+            get => propertyObject?.Type?.ElementType?.ValueType;
+        }
+
+        public string DisplayString
+        {
+            get => propertyObject?.Type.DisplayString;
+        }
+    }
+}

--
Gitblit v1.9.1