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