| | |
| | | { |
| | | InitializeComponent(); |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | this.hydroPumpListViewCtrl1.SelectedChangedEvent += HydroPumpListViewCtrl1_SelectedChangedEvent; |
| | | this.hydroPumpAnalyWorkingPumpListCtrl1.SelectedChangedEvent += HydroPumpListViewCtrl1_SelectedChangedEvent; |
| | | } |
| | | |
| | | private Yw.Model.HydroModelInfo _hydroInfo = null;//水力信息 |
| | | private Yw.Model.HydroPumpInfo _pumpInfo = null;//水泵信心 |
| | | private Yw.Model.HydroPumpInfo _pumpInfo = null;//水泵信息 |
| | | private List<HydroWorkingVmo> _allWorkingList = null;//所有工况列表 |
| | | private Dictionary<HydroWorkingVmo, HydroPumpAnalyViewModel> _allCalcuResultDict = null;//计算结果字典 |
| | | |
| | |
| | | _allCalcuResultDict.Add(working, vm); |
| | | } |
| | | } |
| | | this.hydroPumpListViewCtrl1.SetBindingData(_hydroInfo, allWorkingList); |
| | | this.hydroPumpAnalyWorkingPumpListCtrl1.SetBindingData(_hydroInfo, _allCalcuResultDict); |
| | | } |
| | | |
| | | //水泵选择改变 |