| | |
| | | using DevExpress.Utils.Drawing; |
| | | using DevExpress.XtraCharts; |
| | | using System.Text; |
| | | using Yw.Geometry; |
| | | |
| | | namespace Yw.WinFrmUI.Phart |
| | | { |
| | |
| | | /// <summary> |
| | | /// 设置设计点 |
| | | /// </summary> |
| | | public void SetDesignPoint(double x, double y, double? start_head = null) |
| | | public void SetDesignPoint(double pipe_flow, double pipe_head, double? start_head = null) |
| | | { |
| | | _equip_pt = new Geometry.Point2d(x, y); |
| | | _equip_pt = new Geometry.Point2d(pipe_flow, pipe_head); |
| | | _equip_line = null; |
| | | _equip_sect_pt = null; |
| | | _current_equip_sect_pt = null; |
| | |
| | | { |
| | | _qp_visible = this.barCekCurveQPVisible.Checked; |
| | | _bottom_pane.Visibility = _qp_visible ? ChartElementVisibility.Visible : ChartElementVisibility.Hidden; |
| | | UpdateChart(); |
| | | } |
| | | |
| | | private void barCekCurveEQVisible_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |