| | |
| | | |
| | | private PumpMatchingViewModel _pumpMatchingView; |
| | | |
| | | private event Action<PumpMatchingViewModel> ReloadDataEvent; |
| | | public event Action<PumpMatchingViewModel> ReloadDataEvent; |
| | | |
| | | private long _PumpId; |
| | | |
| | |
| | | var bol = await _bll_ex.Update(_xhs_phart_diagram_ex_std_dto); |
| | | if (bol) |
| | | { |
| | | // var pump_main = await new BLL.AssetsPumpMain().GetByID(_PumpId); |
| | | // var pump_main = await new BLL.AssetsPumpMain().GetByID(_PumpId); |
| | | // this.pumpFullInfoCtrl1.InitChart(_pump_main, _xhs_phart_diagram_ex_std_dto); |
| | | } |
| | | return bol; |
| | | }; |
| | | dlg.ShowDialog(); |
| | | } |
| | | |
| | | //泵型号属性编辑 |
| | | private void BarBtnEditProp_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | var dlg = new EditPumpPartPropDlg(); |
| | | dlg.SetBindingData(PumpPropViewCtrl.GetPumpMainVmo()); |
| | | dlg.ShowDialog(); |
| | | // ReloadRefreshData.Invoke(); |
| | | } |
| | | } |
| | | } |