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 { /// /// 分组名称 /// [ExcelColumn("doc.group")] public string Group { get; set; } /// /// 控制点名称 /// [ExcelColumn("doc.name")] public string Name { get; set; } /// /// 地址 /// [ExcelColumn("doc.address")] public string Address { get; set; } [ExcelColumn("doc.readOnly")] public bool ReadOnly { get; set; } /// /// 按下值 /// [ExcelColumn("doc.pressDownValue")] public string PressDownValue { get; set; } /// /// 抬起值 /// [ExcelColumn("doc.pressUpValue")] public string PressUpValue { get; set; } /// /// 值格式 /// public string ValueFormat { get; set; } /// /// 是否启用 /// public bool Enable { get; set; } /// /// 控制类型 /// [ExcelColumn("doc.controlType")] public ControlType ControlType { get; set; } } }