duheng
2024-12-04 f7bed326ef5948e76dd1a1b24a9ed10f5b2e5e4e
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-pump/01-single/03-variable-speed/PumpVariableSpeedChart.cs
@@ -1,8 +1,6 @@
using DevExpress.Utils;
using DevExpress.Utils.Drawing;
using DevExpress.XtraCharts;
using System.Text;
using Yw.Geometry;
namespace Yw.WinFrmUI.Phart
{
@@ -514,7 +512,7 @@
            }
            //功率
            if (_max_power > _min_power)
            if (_max_power > _min_power && _qp_visible)
            {
                //计算刻度
                var labels = new List<CustomAxisLabel>();
@@ -687,7 +685,7 @@
            series_qh.View = series_qh_view;
            series_qh.Visible = true;
            var pt_qh_list = vm.CurrentCurveQH.GetPointList(12);
            var pt_qh_list = vm.CurrentCurveQH.GetPointList(100);
            for (int i = 0; i < pt_qh_list.Count; i++)
            {
                series_qh.Points.Add(new SeriesPoint(pt_qh_list[i].X, new double[] { pt_qh_list[i].Y }));
@@ -751,7 +749,7 @@
                series_qe.View = series_qe_view;
                series_qe.Visible = _qe_visible;
                var pt_qe_list = vm.CurrentCurveQE.GetPointList(12);
                var pt_qe_list = vm.CurrentCurveQE.GetPointList(100);
                for (int i = 0; i < pt_qe_list.Count; i++)
                {
                    series_qe.Points.Add(new SeriesPoint(pt_qe_list[i].X, new double[] { pt_qe_list[i].Y }));
@@ -783,7 +781,7 @@
                series_qp.View = series_qp_view;
                series_qp.Visible = _qp_visible;
                var pt_qp_list = vm.CurrentCurveQP.GetPointList(12);
                var pt_qp_list = vm.CurrentCurveQP.GetPointList(100);
                for (int i = 0; i < pt_qp_list.Count; i++)
                {
                    series_qp.Points.Add(new SeriesPoint(pt_qp_list[i].X, new double[] { pt_qp_list[i].Y }));