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