duheng
2024-08-12 1a12ef2743134f7fdea6d0abbfec34543b85bdb5
WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/EditPumpProductGroupDlg.cs
@@ -9,14 +9,14 @@
            InitializeComponent();
        }
        public event Func<UpdatePumpGroupDto, Task<bool>> ReloadDataEvent = null;
        public event Func<Vmo.PumpGroup, Task<bool>> ReloadDataEvent = null;
        private UpdatePumpGroupDto _UpdataePumpGroupDto = null;
        private Vmo.PumpGroup _UpdataePumpGroupDto = null;
        public async void SetBindingData(long ID)
        {
            var GroupDto = await new BLL.PumpGroup().GetByID(ID);
            _UpdataePumpGroupDto = GroupDto.Adapt<PumpGroupDto, UpdatePumpGroupDto>();
            _UpdataePumpGroupDto = GroupDto;
            this.NameTextEdit.Text = _UpdataePumpGroupDto.Name;
            this.DescriptionTextEdit.Text = _UpdataePumpGroupDto.Description;
            this.TagNameTextEdit.Text = _UpdataePumpGroupDto.TagName;