using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
|
namespace IStation.Dto
|
{
|
/// <summary>
|
/// 分析偏差
|
/// </summary>
|
public class AnalysisDeviation : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AnalysisDeviation()
|
{
|
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public AnalysisDeviation(AnalysisDeviation rhs)
|
{
|
this.Station = rhs.Station;
|
this.RunFlags = rhs.RunFlags;
|
this.RunCount = rhs.RunCount;
|
this.MinFlow = rhs.MinFlow;
|
this.MaxFlow = rhs.MaxFlow;
|
this.PressureDiff = rhs.PressureDiff;
|
this.Count= rhs.Count;
|
this.Remark = rhs.Remark;
|
}
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(AnalysisDeviation rhs)
|
{
|
this.Station = rhs.Station;
|
this.RunFlags = rhs.RunFlags;
|
this.RunCount = rhs.RunCount;
|
this.MinFlow = rhs.MinFlow;
|
this.MaxFlow = rhs.MaxFlow;
|
this.PressureDiff = rhs.PressureDiff;
|
this.Count = rhs.Count;
|
this.Remark = rhs.Remark;
|
}
|
|
/// <summary>
|
/// 泵站
|
/// </summary>
|
public int Station {get; set;}
|
|
/// <summary>
|
/// 运行组合
|
/// </summary>
|
public List<int> RunFlags { get; set; }
|
|
/// <summary>
|
/// 运行数量
|
/// </summary>
|
public int RunCount { get; set; }
|
|
/// <summary>
|
/// 最小流量
|
/// </summary>
|
public double MinFlow { get; set; }
|
|
/// <summary>
|
/// 最大流量
|
/// </summary>
|
public double MaxFlow { get; set; }
|
|
/// <summary>
|
/// 压力差
|
/// </summary>
|
public Dictionary<int, double> PressureDiff { get; set; }
|
|
/// <summary>
|
/// 数量
|
/// </summary>
|
public int Count { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
public string Remark { get; set; }
|
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
public AnalysisDeviation Clone()
|
{
|
return (AnalysisDeviation)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
|
|
|
}
|
}
|