using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Model
{
///
/// 实时监测记录
///
public class MonitorRealRecord : MonitorRealRecordPure, System.ICloneable
{
///
///
///
public MonitorRealRecord() { }
///
///
///
public MonitorRealRecord(MonitorRealRecordPure rhs) : base(rhs) { }
///
///
///
public MonitorRealRecord(MonitorRealRecord rhs) : base(rhs)
{
this.ID = rhs.ID;
}
///
///
///
public void Reset(MonitorRealRecord rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.MonitorPointID = rhs.MonitorPointID;
this.SignalID = rhs.SignalID;
this.RecordType = rhs.RecordType;
this.SrcTime = rhs.SrcTime;
this.DataTime = rhs.DataTime;
this.SrcValue = rhs.SrcValue;
this.DataValue = rhs.DataValue;
this.DataStatus = rhs.DataStatus;
}
///
/// 标识
///
public long ID { get; set; }
///
///
///
public MonitorRealRecord Clone()
{
return (MonitorRealRecord)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}