duheng
2024-10-22 9212ab13f6dfdacf0ff391505a70a7336f854965
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-pump/PumpFullInfoViewDlg.cs
@@ -37,7 +37,7 @@
        private PumpMatchingViewModel _pumpMatchingView;
        private event Action<PumpMatchingViewModel> ReloadDataEvent;
        public event Action<PumpMatchingViewModel> ReloadDataEvent;
        private long _PumpId;
@@ -433,12 +433,21 @@
                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();
        }
    }
}