using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 监测报警配置 /// [SugarTable("monitor_alarm_configure")] public class MonitorAlarmConfigure :CorpEntity, System.ICloneable,ISorter,IUseStatus { /// /// /// public MonitorAlarmConfigure() { } /// /// /// public MonitorAlarmConfigure(MonitorAlarmConfigure rhs):base(rhs) { this.MonitorPointID = rhs.MonitorPointID; this.SignalID = rhs.SignalID; this.SignalType = rhs.SignalType; this.AlarmName = rhs.AlarmName; this.AlarmType = rhs.AlarmType; this.AlarmLevel = rhs.AlarmLevel; this.ThresholdValue = rhs.ThresholdValue; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 测点标识 /// public long? MonitorPointID { get { return _monitorpointid; } set { _monitorpointid = value; } } private long? _monitorpointid; /// /// 信号标识 /// [DataMember] public long? SignalID { get { return _signalid; } set { _signalid = value; } } private long? _signalid; /// /// 信号类型 /// [DataMember] public string SignalType { get { return _signaltype; } set { _signaltype = value; } } private string _signaltype; /// /// 报警名称 /// public string AlarmName { get { return _alarmname; } set { _alarmname = value; } } private string _alarmname; /// /// 报警类型 /// public string AlarmType { get { return _alarmtype; } set { _alarmtype = value; } } private string _alarmtype; /// /// 报警等级 /// public int AlarmLevel { get { return _alarmlevel; } set { _alarmlevel = value; } } private int _alarmlevel; /// /// 阀值 /// public string ThresholdValue { get { return _thresholdvalue; } set { _thresholdvalue = value; } } private string _thresholdvalue; /// /// 使用状态 /// public int UseStatus { get { return _usestatus; } set { _usestatus = value; } } private int _usestatus; /// /// 排序码 /// 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 MonitorAlarmConfigure Clone() { return (MonitorAlarmConfigure)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }