| | |
| | | } |
| | | else |
| | | { |
| | | var dlg = new PumpFullInfoViewDlg(); |
| | | var dlg = new SinglePumpAnalyDlg(); |
| | | dlg.SetBindindData(input); |
| | | dlg.ReloadDataEvent += (output) => |
| | | { |
| | | bol = AssetsMatchingParasHelper.Apply(hydroInfo, output); |
| | | if (bol) |
| | | { |
| | | propertyViewModel.UpdateProperty(pumpInfo, hydroInfo.GetAllParters()); |
| | | } |
| | | }; |
| | | //dlg.ReloadDataEvent += (output) => |
| | | //{ |
| | | // bol = AssetsMatchingParasHelper.Apply(hydroInfo, output); |
| | | // if (bol) |
| | | // { |
| | | // propertyViewModel.UpdateProperty(pumpInfo, hydroInfo.GetAllParters()); |
| | | // } |
| | | //}; |
| | | dlg.ShowDialog(); |
| | | } |
| | | } |