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 作为历史根节点

---
 PLCHelper/Entity/PLCTagData.cs |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/PLCHelper/Entity/PLCTagData.cs b/PLCHelper/Entity/PLCTagData.cs
new file mode 100644
index 0000000..494c131
--- /dev/null
+++ b/PLCHelper/Entity/PLCTagData.cs
@@ -0,0 +1,38 @@
+锘縰sing HMI.Core;
+
+namespace PLCHelper.Entity
+{
+    public enum PLCTagType
+    {
+        BOOL,
+        SHORT,
+        USHORT,
+        INT,
+        FLOAT
+    }
+
+    public enum ConnectionType
+    {
+        MODBUS,
+        PLC_S7,
+        NXI_5010
+    }
+
+    public class PLCTagData
+    {
+        [ExcelColumn("鍚嶇О")]
+        public string Name { get; set; }
+
+        [ExcelColumn("杩炴帴绫诲瀷")]
+        public ConnectionType ConnectionType { get; set; } = ConnectionType.PLC_S7;
+
+        [ExcelColumn("鍦板潃")]
+        public string Address { get; set; }
+        [ExcelColumn("绫诲瀷")]
+        public PLCTagType Type { get; set; }
+        [ExcelColumn("闀垮害")]
+        public int Length { get; set; }
+        [ExcelColumn("鎻忚堪")]
+        public string Description { get; set; }
+    }
+}

--
Gitblit v1.9.1