From ef52fd6fd07508883dce4eb002acda59f0169e59 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 23 四月 2026 10:19:33 +0800
Subject: [PATCH] 优化;

---
 HMI.Core/Entity/ParameterData.cs |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/HMI.Core/Entity/ParameterData.cs b/HMI.Core/Entity/ParameterData.cs
index f0b4e30..a86f6c4 100644
--- a/HMI.Core/Entity/ParameterData.cs
+++ b/HMI.Core/Entity/ParameterData.cs
@@ -1,4 +1,6 @@
-锘縩amespace HMI.Core.Entity
+锘縰sing System.Xml.Serialization;
+
+namespace HMI.Core.Entity
 {
     public class ParameterData : SelectBase
     {
@@ -7,6 +9,13 @@
         public string Name { get; set; }
         [ExcelColumn("璁剧疆椤圭被鍨�")]
         public string Type { get; set; }
+
+        [ExcelColumn("鏄惁涓烘暟缁�")]
+        public bool IsArray { get; set; } = false;
+
+        [ExcelColumn("鏁扮粍闀垮害")]
+        public int Length { get; set; } = 1;
+
         [ExcelColumn("鍊�")]
         public string Value { get; set; }
         [ExcelColumn("鍗曚綅")]
@@ -19,5 +28,14 @@
         public string Source { get; set; }
 
         public string ProductName { get; set; }
+
+        [XmlIgnore]
+        public string ShowGroup
+        {
+            get => string.IsNullOrEmpty(PGroup) ? "鏆傛棤" : PGroup;
+            set
+            {
+            }
+        }
     }
 }

--
Gitblit v1.9.1