| | |
| | | using DevExpress.XtraRichEdit.Import.Html; |
| | | using HStation.BLL; |
| | | using HStation.Dto; |
| | | using HStation.Model; |
| | | using Mapster; |
| | | using SQLitePCL; |
| | | |
| | | namespace HStation.WinFrmUI.Xhs.PumpProduct |
| | | namespace HStation.WinFrmUI.Xhs.PumpProduct |
| | | { |
| | | public partial class PumpProductMainPanel : DocumentPage |
| | | { |
| | |
| | | map.PumpGroupID = groupid; |
| | | } |
| | | dlg.SetBindingData(id); |
| | | dlg.ReloadDataEvent += async (main, part, content, mainmap) => |
| | | dlg.ReloadDataEvent += async (main) => |
| | | { |
| | | var id = await _bll.InsertEx(main, map, part, content, mainmap); |
| | | var id = await _bll.InsertEx(main, map); |
| | | if (id > 0) |
| | | { |
| | | var model = await _bll.GetByID(id); |
| | |
| | | var model = await _bll.GetByID(currentVm.ID); |
| | | if (model != null) |
| | | { |
| | | /* var page = new ModelManageCtrl(_PumpMain); |
| | | page.PageTitle.Caption = guid.Function; |
| | | page.SurfaceGuid = guid; |
| | | CreatePage(page, guid);*/ |
| | | /* var page = new ModelManageCtrl(_PumpMain); |
| | | page.PageTitle.Caption = guid.Function; |
| | | page.SurfaceGuid = guid; |
| | | CreatePage(page, guid);*/ |
| | | } |
| | | } |
| | | } |