From f08871fe7d148d667f2f11f80f64de71a0d9504c Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 15 六月 2026 18:19:37 +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