duheng
2024-10-09 f4bf35513c50f86556d5e3c75a037052f53c971d
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/02-valve-chart/02-chart-edit/ValvePerform2dEditChart.cs
@@ -28,7 +28,7 @@
        private List<Yw.Geometry.Point2d> _pt_ql_list; 
        private ValvePerformCoordinate _coordinate_paras;
        private ValveCoordinate _coordinate_paras;
        private bool _initial_data = false;
         
@@ -36,7 +36,7 @@
        #region Public Evnet
        public event Action<ValvePerformCoordinate> OnCurveCoordinateChanged;
        public event Action<ValveCoordinate> OnCurveCoordinateChanged;
        public event Action<List<Yw.Geometry.Point2d>> OnDefinePointChanged;
@@ -159,7 +159,7 @@
            _def_pt_ql_list = def_pt_ql_list; 
            _coordinate_paras = ValvePerformCoordinate.ToModel(coordinate_paras);
            _coordinate_paras = ValveCoordinate.ToModel(coordinate_paras);
             
            UpdateChart(calc_coordinate);
        }
@@ -215,7 +215,7 @@
            if (_pt_ql_list == null || _pt_ql_list.Count < 4)
            {
                //设置成白板坐标
                _coordinate_paras = new ValvePerformCoordinate();
                _coordinate_paras = new ValveCoordinate();
                _coordinate_paras.GridNumberX = 30;
                _coordinate_paras.GridNumberY = 16;
                //显示的坐标线号
@@ -227,7 +227,7 @@
                return;
            }
            _coordinate_paras = ValvePerformCoordinate.CalcCoordinate(_pt_ql_list);
            _coordinate_paras = ValveCoordinate.CalcCoordinate(_pt_ql_list);
        }
        /// <summary>