using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 监测报警记录 /// public partial class MonitorAlarmRecord :MonitorAlarmRecordPure, System.ICloneable { /// /// /// public MonitorAlarmRecord() { } /// /// /// public MonitorAlarmRecord(MonitorAlarmRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; 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 void Reset(Model.MonitorAlarmRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; 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 ID { get; set; } /// /// /// public MonitorAlarmRecord Clone() { return (MonitorAlarmRecord)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }