duheng
2024-10-09 f4bf35513c50f86556d5e3c75a037052f53c971d
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/04-coordinate/PumpChartCoordinateDlg.cs
@@ -9,17 +9,17 @@
            InitializeComponent();
        }
        public event Action<PumpPerformCoordinate> OnChangedCoord = null;
        public event Action<PumpCoordinate> OnChangedCoord = null;
        /// <summary>
        /// 坐标参数
        /// </summary>
        public PumpPerformCoordinate CoordinateParas
        public PumpCoordinate CoordinateParas
        {
            get => _coordinate_paras;
            set => _coordinate_paras = value;
        }
        private PumpPerformCoordinate _coordinate_paras = null;
        private PumpCoordinate _coordinate_paras = null;
@@ -28,7 +28,7 @@
        /// 绑定数据
        /// </summary>
        /// <param name="coordinate">坐标参数</param>
        public void SetBindingData(PumpPerformCoordinate coordinate, bool onlyQH = false)
        public void SetBindingData(PumpCoordinate coordinate, bool onlyQH = false)
        {
            if (coordinate == null)
                return;
@@ -39,7 +39,7 @@
                this.groupBoxP.Enabled = false;
            }
            _coordinate_paras = new PumpPerformCoordinate(coordinate);
            _coordinate_paras = new PumpCoordinate(coordinate);
            this.textMinDispQ.EditValue = _coordinate_paras.CoordMinQ;
            this.textGridNumberX.EditValue = _coordinate_paras.GridNumberX;