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