namespace PBS.WinFrmUI.Hydro { /// /// 调度分析辅助类 Model /// public partial class AnalysisHelper { /// /// 分析泵 /// public class AnaPump { /// /// /// public AnaPump() { } /// /// /// /// public AnaPump(HStation.Vmo.AssetsPumpMainVmo rhs, Yw.Pump.CurveQH qh, Yw.Pump.CurveQP qp) { this.Flag = rhs.ID; this.Name = rhs.Name; this.IsBp = true; this.Qr = rhs.RatedFlow; this.Hr = rhs.RatedHead; this.Nr = rhs.RatedSpeed; this.Pr = rhs.RatedPower; this.Er = rhs.RatedEfficiency ?? 0; if (qh != null && qp != null) { this.CurveQH = qh; this.CurveQP = qp; this.AllowCalc = true; } } /// /// /// public long Flag { get; set; } /// /// /// public string Name { get; set; } /// /// /// public double Qr { get; set; } /// /// /// public double Hr { get; set; } /// /// /// public double Nr { get; set; } /// /// /// public double Pr { get; set; } /// /// /// public double Er { get; set; } /// /// /// public bool IsBp { get; set; } /// /// /// public Yw.Pump.CurveQH CurveQH { get; set; } /// /// /// public Yw.Pump.CurveQP CurveQP { get; set; } /// /// /// public List AnaPumpFreItems { get; set; } /// /// /// public bool AllowCalc { get; set; } } /// /// 分析泵变频项 /// public class AnaPumpFreItem { /// /// /// public double Frequency { get; set; } /// /// /// public Yw.Pump.CurveQH CurveQH { get; set; } /// /// /// public Yw.Pump.CurveQP CurveQP { get; set; } } } }