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/SeqUI.cs |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/Plugin.SeqEditor/Entity/SeqUI.cs b/Plugin.SeqEditor/Entity/SeqUI.cs
new file mode 100644
index 0000000..08582ac
--- /dev/null
+++ b/Plugin.SeqEditor/Entity/SeqUI.cs
@@ -0,0 +1,45 @@
+锘縰sing CommunityToolkit.Mvvm.ComponentModel;
+using NationalInstruments.TestStand.Interop.API;
+using System.Runtime.InteropServices;
+
+namespace Plugin.SeqEditor.Entity
+{
+    public partial class SeqUI : ObservableObject
+    {
+        ~SeqUI()
+        {
+            if (sequence != null)
+            {
+                Marshal.ReleaseComObject(sequence);
+            }
+        }
+
+        public Sequence sequence { get; private set; }
+
+        public SeqUI(Sequence sequence)
+        {
+            this.sequence = sequence;
+        }
+
+        public string Name
+        {
+            get => sequence?.Name;
+            set
+            {
+                if (sequence != null)
+                {
+                    sequence.Name = value;
+                    OnPropertyChanged(Name);
+                }
+            }
+        }
+
+        [ObservableProperty]
+        private bool isChanged;
+
+        public void OnStepSettingChanged(object sender, string propertyName)
+        {
+            IsChanged = true;
+        }
+    }
+}

--
Gitblit v1.9.1