| | |
| | | |
| | | 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) |
| | | { |
| | |
| | | private void barCekCurveEQVisible_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |
| | | { |
| | | _equip_visible = this.barCekCurveEQVisible.Checked; |
| | | UpdateChart(); |
| | | } |
| | | |
| | | #endregion |