duheng
2024-10-09 f4bf35513c50f86556d5e3c75a037052f53c971d
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/02-valve-chart/04-coordinate/ValveChartCoordinateDlg.cs
@@ -9,17 +9,17 @@
            InitializeComponent();
        }
        public event Action<ValvePerformCoordinate> OnChangedCoord = null;
        public event Action<ValveCoordinate> OnChangedCoord = null;
        /// <summary>
        /// 坐标参数
        /// </summary>
        public ValvePerformCoordinate CoordinateParas
        public ValveCoordinate CoordinateParas
        {
            get => _coordinate_paras;
            set => _coordinate_paras = value;
        }
        private ValvePerformCoordinate _coordinate_paras = null;
        private ValveCoordinate _coordinate_paras = null;
@@ -28,12 +28,12 @@
        /// 绑定数据
        /// </summary>
        /// <param name="coordinate">坐标参数</param>
        public void SetBindingData(ValvePerformCoordinate coordinate)
        public void SetBindingData(ValveCoordinate coordinate)
        {
            if (coordinate == null)
                return;
             
            _coordinate_paras = new ValvePerformCoordinate(coordinate);
            _coordinate_paras = new ValveCoordinate(coordinate);
            this.textMinDispQ.EditValue = _coordinate_paras.CoordMinQ;
            this.textGridNumberX.EditValue = _coordinate_paras.GridNumberX;