| | |
| | | using DevExpress.XtraEditors.Controls; |
| | | using HStation.Assets; |
| | | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | |
| | | TextEditMaterial.Properties.Items.Add(imageItem); |
| | | } |
| | | } |
| | | imageComboBoxEditValveType.Properties.AddEnum(typeof(eValveOpenStatus)); |
| | | TextEditCaliber.SelectedIndex = 0; |
| | | TextEditMaterial.SelectedIndex = 0; |
| | | } |
| | |
| | | { |
| | | _AssetsValveMain.Caliber = caliber; |
| | | } |
| | | _AssetsValveMain.OpenStatus = (eValveOpenStatus)this.imageComboBoxEditValveType.EditValue; |
| | | if (await this.ReloadDataEvent.Invoke(_AssetsValveMain)) |
| | | { |
| | | TipFormHelper.ShowSucceed("添加成功!"); |