duheng
2024-12-24 422bb59e2c51524096faaafbe7cabccdc3efb701
WinFrmUI/Yw.WinFrmUI.Phart.Core/02-pump/04-special/04-parallel/PumpParallelChart.cs
@@ -427,6 +427,19 @@
            double _scaleMinH = 1, _scaleMaxH = 1;
            if (_equip_visible&&_equip_line!=null&&_equip_line.IsValid())
            {
                var qh_pt_list = _equip_line.GetPointList();
                var xxx = qh_pt_list.Select(x => x.X);
                var yyy = qh_pt_list.Select(x => x.Y);
                _min_flow = Math.Min(_min_flow, xxx.Min());
                _max_flow = Math.Max(_max_flow, xxx.Max());
                _min_head = Math.Min(_min_head, yyy.Min());
                _max_head = Math.Max(_max_head, yyy.Max());
            }
             
            foreach (var vm in _vm_list)
            {
@@ -1121,6 +1134,7 @@
        private void barCekCurveEQVisible_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            _equip_visible = this.barCekCurveEQVisible.Checked; 
            UpdateChart();
        }
        #endregion