| | |
| | | { |
| | | InitializeComponent(); |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | this.hydroPumpRunStatusListCtrl1.SelectedChangedEvent += HydroPumpRunStatusListCtrl1_SelectedChangedEvent; |
| | | this.hydroPumpListStateViewCtrl1.SelectedChangedEvent += HydroPumpRunStatusListCtrl1_SelectedChangedEvent; |
| | | } |
| | | |
| | | private Yw.Model.HydroModelInfo _hydroInfo = null;//水力信息 |
| | |
| | | _hydroInfo = hydroInfo; |
| | | _allCalcuResultVisualDict = allCalcuResultVisualDict; |
| | | this.hydroEnergyTotalViewCtrl1.SetBindingData(hydroInfo, allCalcuResultVisualDict); |
| | | this.hydroPumpRunStatusListCtrl1.SetBindingData(hydroInfo); |
| | | this.hydroPumpListStateViewCtrl1.SetBindingData(hydroInfo); |
| | | } |
| | | |
| | | //泵选择改变 |
| | |
| | | this.txtE.EditValue = calcuResult.CalcuE.HasValue ? $"{Math.Round(calcuResult.CalcuE.Value, 1)}%" : null; |
| | | } |
| | | var matching = AssetsMatchingParasHelper.Create(_hydroInfo, pump, _allCalcuResultVisualDict.Values.ToList()); |
| | | this.singlePumpCalcCtrl1.SetBindindData(matching); |
| | | //this.singlePumpCalcCtrl1.SetBindindData(matching); |
| | | } |
| | | } |
| | | |