duheng
2025-01-17 89b928115c2309c6548b096b4d71c0dedbcaa2db
WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/03-factor/EditAssetsPipeFactorDlg.cs
@@ -64,8 +64,9 @@
            }
            _vmo.Name = this.txtName.Text.Trim();
            _vmo.MinorLoss = double.Parse(this.txtMinorLoss.EditValue?.ToString());
            _vmo.Description = this.txtDescription.Text.Trim();
            var bol = await BLLFactory<HStation.BLL.AssetsPipeFactor>.Instance.Update(_vmo);
            _vmo.Caliber = double.Parse(this.txtCaliber.EditValue?.ToString());
            _vmo.Material = this.txtMaterial.EditValue?.ToString();
            _vmo.Description = this.txtDescription.Text.Trim(); var bol = await BLLFactory<HStation.BLL.AssetsPipeFactor>.Instance.Update(_vmo);
            if (!bol)
            {
                TipFormHelper.ShowError("更新失败!");