duheng
2024-12-05 6d4874f6d9c271c67d72a62f08985c71f7f8bfac
WinFrmUI/HStation.WinFrmUI.Assets.Core/08-sprinkler/02-main/AddAssetsSprinklerMainDlg.cs
@@ -43,6 +43,7 @@
            }
            TextEditCaliber.SelectedIndex = 0;
            TextEditMaterial.SelectedIndex = 0;
            this.selectFlagsPopupCtrl1.SetBindingData<AssetsFlags>();
        }
        public event Func<Vmo.AssetsSprinklerMainVmo, Task<bool>> ReloadDataEvent = null;
@@ -149,6 +150,7 @@
            {
                _SprinklerVmo.FlowMinorLoss = FlowMinorLoss;
            }
            _SprinklerVmo.Flags = this.selectFlagsPopupCtrl1.SelectedFlags;
            if (await this.ReloadDataEvent.Invoke(_SprinklerVmo))
            {
                TipFormHelper.ShowSucceed("添加成功!");