alielie
2025-03-28 dedcf4174c8540ee3a912daad2ff13e014e495b1
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
using HMI.Core.Entity;
using HMI.Core;
 
namespace Plugin.DOControl.Entity
{
    public enum ControlType
    {
        Button, Int16, Int32, Real, LReal, String, WString, ClickButton
    }
    public class DOControlData : SelectBase
    {
        /// <summary>
        /// 分组名称
        /// </summary>
        [ExcelColumn("doc.group")]
        public string Group { get; set; }
 
        /// <summary>
        /// 控制点名称
        /// </summary>
        [ExcelColumn("doc.name")]
        public string Name { get; set; }
 
        /// <summary>
        /// 地址
        /// </summary>
        [ExcelColumn("doc.address")]
        public string Address { get; set; }
        [ExcelColumn("doc.readOnly")]
        public bool ReadOnly { get; set; }
 
        /// <summary>
        /// 按下值
        /// </summary>
        [ExcelColumn("doc.pressDownValue")]
        public string PressDownValue { get; set; }
 
        /// <summary>
        /// 抬起值
        /// </summary>
        [ExcelColumn("doc.pressUpValue")]
        public string PressUpValue { get; set; }
 
        /// <summary>
        /// 值格式
        /// </summary>
        public string ValueFormat { get; set; }
 
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enable { get; set; }
 
        /// <summary>
        /// 控制类型
        /// </summary>
        [ExcelColumn("doc.controlType")]
        public ControlType ControlType { get; set; }
    }
}