Shuxia Ning
2024-10-09 39f81c9e3c651a8f103fbda21647f584b388f2dc
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/PumpPerform2dMultiChart.cs
@@ -46,7 +46,7 @@
        private TextAnnotation _work_pt_txt_annot;
        private PumpPerformCoordinate _coordinate_paras;
        private PumpCoordinate _coordinate_paras;
        public bool _cubic_spline_qh_visible = true;
        public bool _cubic_spline_qe_visible = true;
@@ -91,9 +91,9 @@
        #region Public Evnet
        public event Action<PumpPerformCoordinate> OnCurveCoordinateChanged;
        public event Action<PumpCoordinate> OnCurveCoordinateChanged;
        public event Action<string, PumpPerformGroupPoint> OnCalcQueryPoint = null;
        public event Action<string, PumpGroupPt> OnCalcQueryPoint = null;
        #endregion
@@ -418,7 +418,7 @@
            if (_vm_list == null || !_vm_list.Any())
            {
                //设置成白板坐标
                _coordinate_paras = new PumpPerformCoordinate();
                _coordinate_paras = new PumpCoordinate();
                _coordinate_paras.GridNumberX = 30;
                _coordinate_paras.GridNumberY = 16;
                //显示的坐标线号
@@ -471,7 +471,7 @@
                _maxP = Math.Max(_maxP, yyy.Max());
            }
            _coordinate_paras = PumpPerformCoordinate.CalcCoordinate(_minQ,
            _coordinate_paras = PumpCoordinate.CalcCoordinate(_minQ,
                                                                         _maxQ,
                                                                         _minH * _scaleMinH,
                                                                         _maxH * _scaleMaxH,
@@ -672,7 +672,7 @@
                var curveMinQ = curve.QH.MinX;
                var curveMaxQ = curve.QH.MaxX;
                var workPoint = new PumpPerformGroupPoint(0, 0, 0, 0, 0);
                var workPoint = new PumpGroupPt(0, 0, 0, 0, 0);
                if (curveMinQ > workQ.Value || workQ.Value > curveMaxQ)
                {
                    if (OnCalcQueryPoint != null)
@@ -700,7 +700,7 @@
                    if (curve.QP != null)
                    {
                        workPoint.P = curve.QP.GetPointY(workPoint.Q);
                        workPoint.E = PumpPerform2dCalcHelper.CalculateE(workPoint.Q, workPoint.H, workPoint.P);
                        workPoint.E = PumpCalcHelper.CalculateE(workPoint.Q, workPoint.H, workPoint.P);
                    }
                    else
                    {