alielie
2026-04-23 ef52fd6fd07508883dce4eb002acda59f0169e59
HMI.Core/Entity/ParameterData.cs
@@ -1,4 +1,6 @@
namespace HMI.Core.Entity
using 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
            {
            }
        }
    }
}