duheng
2025-01-13 e7df5d1ece7ecabaa7a3943f24a6621649fdc455
WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/02-main/EditAssetsElbowMainDlg.cs
@@ -90,7 +90,9 @@
            _vmo.Flags = this.setFlagsEditCtrl1.SelectedFlagList;
            _vmo.TagName = this.txtTagName.Text.Trim();
            _vmo.Description = this.txtDescription.Text.Trim();
            _vmo.ElbowType = (eElbowType)this.imageComboBoxEditConnectlenght.EditValue;
            _vmo.ElbowType = this.imageComboBoxEditConnectlenght.EditValue != null
 ? (eElbowType)Enum.Parse(typeof(eElbowType), this.imageComboBoxEditConnectlenght.EditValue.ToString())
 : (eElbowType?)null;
            _vmo.Angle = int.Parse(this.txtAngle.EditValue?.ToString());
            var bol = await BLLFactory<HStation.BLL.AssetsElbowMain>.Instance.Update(_vmo);
            if (!bol)