Shuxia Ning
2024-12-02 13e69c09c5ac97e0294d64617dfb934e34bb4264
WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/02-main/EditElbowMainDlg.cs
@@ -57,8 +57,8 @@
            {
                TextEditMaterial.EditValue = _ElbowVmo.Material.ToString();
            }
            this.imageComboBoxEditConnectlenght.Properties.AddEnum(typeof(eLengthType));
            this.imageComboBoxEditConnectlenght.EditValue = _ElbowVmo.ElbowLengthType;
            this.imageComboBoxEditConnectlenght.Properties.AddEnum(typeof(eElbowType));
            this.imageComboBoxEditConnectlenght.EditValue = _ElbowVmo.ElbowType;
            this.textEditAngle.Text = _ElbowVmo.Angle.ToString();
            this.TextEditName.Text = _ElbowVmo.Name;
            this.TextEditCoefficient.Text = _ElbowVmo.MinorLoss.ToString();
@@ -162,7 +162,7 @@
            {
                _ElbowVmo.Angle = angle;
            }
            _ElbowVmo.ElbowLengthType = (eLengthType)this.imageComboBoxEditConnectlenght.EditValue;
            _ElbowVmo.ElbowType = (eElbowType)this.imageComboBoxEditConnectlenght.EditValue;
            if (await this.ReloadDataEvent.Invoke(_ElbowVmo))
            {
                TipFormHelper.ShowSucceed("修改成功!");