namespace IStation.Model
|
{
|
/// <summary>
|
/// 水力模型记录
|
/// </summary>
|
public class HydraulicModelRecord : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public HydraulicModelRecord() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <param name="rhs"></param>
|
public HydraulicModelRecord(HydraulicModelRecord rhs)
|
{
|
this.VerificationID = rhs.VerificationID;
|
this.Time = rhs.Time;
|
this.ValueType = rhs.ValueType;
|
this.ModelId = rhs.ModelId;
|
this.ScadaId = rhs.ScadaId;
|
this.ModelValue = rhs.ModelValue;
|
this.ScadaValue = rhs.ScadaValue;
|
this.DifferenceValue = rhs.DifferenceValue;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <param name="rhs"></param>
|
public void Reset(HydraulicModelRecord rhs)
|
{
|
this.VerificationID = rhs.VerificationID;
|
this.Time = rhs.Time;
|
this.ValueType = rhs.ValueType;
|
this.ModelId = rhs.ModelId;
|
this.ScadaId = rhs.ScadaId;
|
this.ModelValue = rhs.ModelValue;
|
this.ScadaValue = rhs.ScadaValue;
|
this.DifferenceValue = rhs.DifferenceValue;
|
}
|
|
/// <summary>
|
/// 验证标识
|
/// </summary>
|
public long VerificationID { get; set; }
|
|
/// <summary>
|
/// 时间
|
/// </summary>
|
public DateTime Time { get; set; }
|
|
/// <summary>
|
/// 值类型
|
/// </summary>
|
public eValueType ValueType { get; set; }
|
|
/// <summary>
|
/// 模型标识
|
/// </summary>
|
public string ModelId { get; set; }
|
|
/// <summary>
|
/// Scada标识
|
/// </summary>
|
public string ScadaId { get; set; }
|
|
/// <summary>
|
/// 模型值
|
/// </summary>
|
public double? ModelValue { get; set; }
|
|
/// <summary>
|
/// Scada值
|
/// </summary>
|
public double? ScadaValue { get; set; }
|
|
/// <summary>
|
/// 差值
|
/// </summary>
|
public double? DifferenceValue { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
public HydraulicModelRecord Clone()
|
{
|
return (HydraulicModelRecord)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
|
}
|
}
|