using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 监测报警配置 /// [SugarTable("monitor_alarm_record")] public class MonitorAlarmRecord :CorpEntity, System.ICloneable { /// /// /// public MonitorAlarmRecord() { } /// /// /// public MonitorAlarmRecord(MonitorAlarmRecord rhs):base(rhs) { this.ConfigureID = rhs.ConfigureID; this.MonitorPointID = rhs.MonitorPointID; this.SignalID = rhs.SignalID; this.AlarmType = rhs.AlarmType; this.AlarmLevel = rhs.AlarmLevel; this.ThresholdValue = rhs.ThresholdValue; this.AlarmTime = rhs.AlarmTime; this.AlarmContent = rhs.AlarmContent; this.DataTime = rhs.DataTime; this.DataValue = rhs.DataValue; this.HandleStatus = rhs.HandleStatus; } /// /// 配置标识 /// public long ConfigureID { get { return _configureid; } set { _configureid = value; } } private long _configureid; /// /// 测点标识 /// public long MonitorPointID { get { return _monitorpointid; } set { _monitorpointid = value; } } private long _monitorpointid; /// /// 信号标识 /// public long? SignalID { get { return _signalId; } set { _signalId = value; } } private long? _signalId; /// /// 报警类型 /// 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 DateTime AlarmTime { get { return _alarmtime; } set { _alarmtime = value; } } private DateTime _alarmtime; /// /// 报警内容 /// public string AlarmContent { get { return _alarmcontent; } set { _alarmcontent = value; } } private string _alarmcontent; /// /// 数据时间 /// public DateTime? DataTime { get { return _datatime; } set { _datatime = value; } } private DateTime? _datatime; /// /// 数据值 /// public string DataValue { get { return _datavalue; } set { _datavalue = value; } } private string _datavalue; /// /// 处理状态 /// public int HandleStatus { get { return _handlestatus; } set { _handlestatus = value; } } private int _handlestatus; /// /// /// public MonitorAlarmRecord Clone() { return (MonitorAlarmRecord)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }