lixiaojun
2024-11-27 4a5989c23c468d376a8abe72abe1a534708dbfe2
WinFrmUI/Yw.WinFrmUI.Phart.Core/00-core/01-calculate/PumpDimensionlessCurvesHelper.cs
@@ -171,7 +171,7 @@
            #endregion
            #region  修正效率线 高效点 有时不是ratedParas.Q
            var pointsQE_jiami_1 = pointsQE.GetFitPointList( 500);
            var pointsQE_jiami_1 = pointsQE.GetFitPointList(500);
            Yw.Geometry.Point2d currentMaxEffPt_1 = pointsQE_jiami_1.GetPointByMaxY();//当前高效点
            if (Math.Abs(currentMaxEffPt_1.X - ratedParas.Q) / ratedParas.Q > 0.02)
            {
@@ -267,10 +267,10 @@
        //计算(带修正)
        static public bool CalcPoints(PumpGroupPt ratedParas, double n, double? K0,
   ref List<Yw.Geometry.Point2d> pointsQH,
   ref List<Yw.Geometry.Point2d> pointsQE,
   ref List<Yw.Geometry.Point2d> pointsQP,
   ref List<Yw.Geometry.Point2d> pointsNPSH, bool isSxp, int stageNumber)
           ref List<Yw.Geometry.Point2d> pointsQH,
           ref List<Yw.Geometry.Point2d> pointsQE,
           ref List<Yw.Geometry.Point2d> pointsQP,
           ref List<Yw.Geometry.Point2d> pointsNPSH, bool isSxp, int stageNumber)
        {
            bool re = CalcPoints(ratedParas, n, ref pointsQH, ref pointsQE, ref pointsQP, ref pointsNPSH, isSxp, stageNumber);
            if (!re)