wenxiangchao
2026-11-02 fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System.Xml.Serialization;
 
namespace HMI.Core.Entity
{
    public class ParameterData : SelectBase
    {
        public string Id { get; set; }
        [ExcelColumn("设置项名称")]
        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("单位")]
        public string Unit { get; set; }
        [ExcelColumn("描述")]
        public string Description { get; set; }
        [ExcelColumn("分组")]
        public string PGroup { get; set; }
        [ExcelColumn("来源")]
        public string Source { get; set; }
 
        public string ProductName { get; set; }
 
        [XmlIgnore]
        public string ShowGroup
        {
            get => string.IsNullOrEmpty(PGroup) ? "暂无" : PGroup;
            set
            {
            }
        }
    }
}