| | |
| | | var series = this.pipeLineTreeListCtrl1.GetCurrentSeries(); |
| | | if (series == null) |
| | | { |
| | | MessageBoxHelper.ShowWarning("请先选择管道系列!"); |
| | | MessageBoxHelper.ShowWarning("请先选择系列!"); |
| | | return; |
| | | } |
| | | dlg.SetBindingData(series.ID); |
| | |
| | | var dlg = new EditAssetsPipeMainDlg(); |
| | | var PipeLine = await _bll.GetByID(vm.ID); |
| | | if (PipeLine == null) |
| | | return; |
| | | var cofficientList = await new BLL.AssetsPipeLineCoefficient().GetByPipeID(vm.ID); |
| | | if (cofficientList == null) |
| | | return; |
| | | dlg.SetBindingData(PipeLine); |
| | | dlg.ReloadDataEvent += async (rhs) => |