Shuxia Ning
2024-11-03 342fa8be89ce72d4a1f87fc857def22b41722dfc
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs
@@ -19,7 +19,7 @@
            this.QueryP = rhs.QueryP;
            this.QueryE = rhs.QueryE;
            this.ExtendRatio = rhs.ExtendRatio;
            this.IsDefault = rhs.IsDefault;
            this.IsDefault = rhs.IsDefault;
            this.RunStatus = rhs.RunStatus;
            this.CalcuQ = rhs.CalcuQ;
            this.CalcuH = rhs.CalcuH;
@@ -38,8 +38,9 @@
        public bool IsDefault { get; set; }  
        public bool RunStatus { get; set; }
         
        public double? CalcuQ { get; set; }
        public double? CalcuH { get; set; }
        public double? CalcuQ { get; set; }
        public double? CalcuH { get; set; }
        public  double? ExtendFlow { get; set; }
        public void Calc()
        {
            this.CurrentSpeed = Math.Round(this.CurrentHz / 50 * this.RatedSpeed);
@@ -57,6 +58,11 @@
            if (this.QpCalc != null)
                this.QpCalc.MaxX = this.QpCalc.MaxX * this.ExtendRatio / 100;
            if (this.ExtendRatio>100)
            {
                this.ExtendFlow = this.Qh.MaxX;
            }
        }