namespace JinYuan.Models { public class PlcGroupConfig { /// /// PLC编号 /// private int _plcNum; public int PlcNum { get => _plcNum; set { if (_plcNum == value) return; _plcNum = value; } } /// /// 通信组 /// private string _groupName; public string GroupName { get => _groupName; set { if (_groupName == value) return; _groupName = value; } } /// /// 通信组起始地址 /// private string _start; public string Start { get => _start; set { if (_start == value) return; _start = value; } } private int _length; public int Length { get => _length; set { if (_length == value) return; _length = value; } } private bool _isTiggerRead; /// /// 是否触发读取 /// public bool IsTiggerRead { get => _isTiggerRead; set { if (_isTiggerRead == value) return; _isTiggerRead = value; } } private bool _isFeedbackPlc; /// ///是否有返回PLC /// public bool IsFeedbackPlc { get => _isFeedbackPlc; set { if (_isFeedbackPlc == value) return; _isFeedbackPlc = value; } } private bool _isActive; /// /// 是否激活 /// public bool IsActive { get => _isActive; set { if (_isActive == value) return; _isActive = value; } } private string stationName; public string StationName { get { return stationName; } set { if (stationName == value) { return; } stationName = value; } } private string _remark; /// /// 备注 /// public string Remark { get => _remark; set { if (_remark == value) return; _remark = value; } } } }