namespace IStation.Model
|
{
|
/// <summary>
|
/// 分析偏差
|
/// </summary>
|
public class AnalysisDeviation : BaseModel, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AnalysisDeviation()
|
{
|
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public AnalysisDeviation(AnalysisDeviation rhs)
|
{
|
this.ID = rhs.ID;
|
this.RunFlags = rhs.RunFlags;
|
this.RunCount = rhs.RunCount;
|
this.MinFlow = rhs.MinFlow;
|
this.MaxFlow = rhs.MaxFlow;
|
this.CurveDeviation = rhs.CurveDeviation;
|
this.ModelDeviation = rhs.ModelDeviation;
|
this.Accuracy = rhs.Accuracy;
|
}
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(AnalysisDeviation rhs)
|
{
|
this.ID = rhs.ID;
|
this.RunFlags = rhs.RunFlags;
|
this.RunCount = rhs.RunCount;
|
this.MinFlow = rhs.MinFlow;
|
this.MaxFlow = rhs.MaxFlow;
|
this.CurveDeviation = rhs.CurveDeviation;
|
this.ModelDeviation = rhs.ModelDeviation;
|
this.Accuracy = rhs.Accuracy;
|
}
|
|
/// <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> CurveDeviation { get; set; }
|
|
/// <summary>
|
/// 模型偏差
|
/// </summary>
|
public Dictionary<int, double> ModelDeviation { get; set; }
|
|
/// <summary>
|
/// 偏差准确度
|
/// </summary>
|
public double Accuracy { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
public AnalysisDeviation Clone()
|
{
|
return (AnalysisDeviation)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
|
|
|
}
|
}
|