Shuxia Ning
2024-10-15 a8e54743e599fa42d627cc97ab1468937e719c04
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoCtrl.cs
@@ -69,6 +69,25 @@
            this.txtDesignH.EditValue = design_pt?.Y;
        }
        /// <summary>
        /// 获取
        /// </summary>
        public Yw.Geometry.Point2d GetDesignPoint()
        {
            if (!double.TryParse(this.txtDesignQ.Text, out double x))
            {
                return default;
            }
            if (!double.TryParse(this.txtDesignH.Text, out double y))
            {
                return default;
            }
            return new Geometry.Point2d(x, y);
        }
        #region Color
        private List<Color> _color_array = new List<Color>()