using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace IStation.Entity { /// /// 信号 /// [SugarTable("signal")] public class Signal : CorpEntity, System.ICloneable,ISorter { /// /// /// public Signal() { } /// /// /// public Signal(Signal rhs) : base(rhs) { this.MonitorPointID = rhs.MonitorPointID; this.Name = rhs.Name; this.SignalType = rhs.SignalType; this.BuiltIn = rhs.BuiltIn; this.DataType = rhs.DataType; this.DataParas = rhs.DataParas; this.ConvertParas = rhs.ConvertParas; this.CorrectParas = rhs.CorrectParas; this.FilterParas = rhs.FilterParas; this.UnitValue = rhs.UnitValue; this.DecimalPlaces = rhs.DecimalPlaces; this.CoordParas = rhs.CoordParas; this.Flags = rhs.Flags; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get { return _name; } set { _name = value; } } private string _name; /// /// 测点标识 /// public long MonitorPointID { get { return _monitorpointid; } set { _monitorpointid = value; } } private long _monitorpointid; /// /// 信号类型 /// public string SignalType { get { return _signaltype; } set { _signaltype = value; } } private string _signaltype; /// /// 内置 /// public bool BuiltIn { get { return _builtin; } set { _builtin = value; } } private bool _builtin; /// /// 数据类型 /// public int DataType { get { return _datatype; } set { _datatype = value; } } private int _datatype; /// /// 数据参数 /// public string DataParas { get { return _dataparas; } set { _dataparas = value; } } private string _dataparas; /// /// 转换参数 /// public string ConvertParas { get { return _convertparas; } set { _convertparas = value; } } private string _convertparas; /// /// 修正参数 /// public string CorrectParas { get { return _correctparas; } set { _correctparas = value; } } private string _correctparas; /// /// 过滤参数 /// public string FilterParas { get { return _filterparas; } set { _filterparas = value; } } private string _filterparas; /// /// 显示单位 /// public string UnitValue { get { return _unitvalue; } set { _unitvalue = value; } } private string _unitvalue; /// /// 显示小数位数 /// public int? DecimalPlaces { get { return _decimalplaces; } set { _decimalplaces = value; } } private int? _decimalplaces; /// /// 显示坐标参数 /// public string CoordParas { get { return _coordparas; } set { _coordparas = value; } } private string _coordparas; /// /// 标签列表 /// public string Flags { get { return _tags; } set { _tags = value; } } private string _tags; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 说明 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// /// public Signal Clone() { return (Signal)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }