| | |
| | | this.valveEditChart1.Clear(); |
| | | return; |
| | | } |
| | | |
| | | _edit_curve_type = Ahart.eCurveType.QL; |
| | | |
| | | _vm_list = vm_list; |
| | | if (!_vm_list.Exists(x => x.IsUpdate)) |
| | | { |
| | |
| | | this.repImgCmbCurveType.Items.Clear(); |
| | | if (_vm_list.Exists(x=>x.CurveType== Ahart.eCurveType.QL)) |
| | | { |
| | | _edit_curve_type = Ahart.eCurveType.QL; |
| | | this.repImgCmbCurveType.Items.Add("流量损失", Yw.Ahart.eCurveType.QL, -1); |
| | | } |
| | | if (_vm_list.Exists(x => x.CurveType == Ahart.eCurveType.OL)) |
| | | { |
| | | |
| | | _edit_curve_type = Ahart.eCurveType.OL; |
| | | this.repImgCmbCurveType.Items.Add("开度损失", Yw.Ahart.eCurveType.OL, -1); |
| | | } |
| | | this.repImgCmbCurveType.EndInit(); |
| | | |
| | | this.repImgCmbCurveType.EndInit(); |
| | | |
| | | this.barImgCmbCurveType.EditValue = _edit_curve_type; |
| | | } |