namespace IBox.WinFrmUI
{
///
/// 实时监测记录
///
public class MonitorRealRecord : MonitorRecord
{
///
///
///
public MonitorRealRecord() { }
///
///
///
public MonitorRealRecord(MonitorRecord rhs) : base(rhs) { }
///
///
///
public MonitorRealRecord(MonitorRealRecord rhs) : base(rhs)
{
this.HandleTime = rhs.HandleTime;
this.SrcValue = rhs.SrcValue;
}
///
///
///
public void Reset(MonitorRealRecord rhs)
{
this.SignalID = rhs.SignalID;
this.HandleTime = rhs.HandleTime;
this.DataTime = rhs.DataTime;
this.SrcValue = rhs.SrcValue;
this.DataValue = rhs.DataValue;
this.DataStatus = rhs.DataStatus;
}
///
/// 处理时间
///
public DateTime HandleTime { get; set; }
///
/// 原始值
///
public string SrcValue { get; set; }
///
///
///
public MonitorRealRecord Clone()
{
return new MonitorRealRecord(this);
}
}
}