using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Model { /// /// 能效机泵分析上下文项 /// public class EtaEnginePumpAnalyContextItem: EtaProductAnalyContextBaseItem { /// /// /// /// public EtaEnginePumpAnalyContextItem(Model.Product product) : base(product) { } /// /// /// /// public void SetCurveInfo(PumpCurveExMapping pumpCurve) { if (pumpCurve != null) { if (pumpCurve.CurveInfo != null) { this.CurveQH = pumpCurve.CurveInfo.CurveQH; this.CurveQP = pumpCurve.CurveInfo.CurveQP; this.CurveQE = pumpCurve.CurveInfo.CurveQE; } if (pumpCurve.PointInfo != null) { this.PointQH = pumpCurve.PointInfo.PointQH; this.PointQP = pumpCurve.PointInfo.PointQP; this.PointQE = pumpCurve.PointInfo.PointQE; } } } /// /// 额定参数 /// public Model.Pump RatedParas { get; set; } /// /// 流量扬程曲线 /// public Model.CurveExpress CurveQH { get; set; } /// /// 流量功率曲线 /// public Model.CurveExpress CurveQP { get; set; } /// /// 流量效率曲线 /// public Model.CurveExpress CurveQE { get; set; } /// /// 流量扬程点集合 /// public List PointQH { get; set; } /// /// 流量功率点集合 /// public List PointQP { get; set; } /// /// 流量效率点集合 /// public List PointQE { get; set; } } }