Shuxia Ning
2025-01-08 687a3dfd095bc8c099b7fa6e65f0dc699fdc8f1d
WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-factor/AddAssetsElbowFactorDlg.cs
@@ -75,6 +75,7 @@
            _vmo.Material = this.txtMaterial.Text.Trim();
            _vmo.Caliber = this.txtCaliber.EditValue == null ? null : double.Parse(this.txtCaliber.EditValue?.ToString());
            _vmo.MinorLoss = double.Parse(this.txtCoefficient.EditValue?.ToString());
            _vmo.Angle = int.Parse(this.txtAngle.EditValue?.ToString());
            _vmo.Description = this.txtDescription.Text.Trim();
            var id = await BLLFactory<HStation.BLL.AssetsElbowFactor>.Instance.Insert(_vmo);
            if (id < 1)