Shuxia Ning
2025-01-08 687a3dfd095bc8c099b7fa6e65f0dc699fdc8f1d
WinFrmUI/HStation.WinFrmUI.Assets.Core/19-translation/03-factor/ViewAssetsTranslationFactorDlg.cs
@@ -1,17 +1,4 @@
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Yw;
using Yw.DAL.Basic;
namespace HStation.WinFrmUI
namespace HStation.WinFrmUI
{
    public partial class ViewAssetsTranslationFactorDlg : DevExpress.XtraEditors.XtraForm
    {
@@ -35,7 +22,12 @@
            }
            _vmo = vmo;
            this.txtName.EditValue = vmo.Name;
            this.txtMinorLoss.EditValue = vmo.MinorLoss;
            this.TextEditMinorLoss.EditValue = vmo.MinorLoss;
            this.textEditStartDiameter.EditValue = vmo.StartDiameter;
            this.textEditEndDiameter.EditValue = vmo.EndDiameter;
            this.txtCaliber.EditValue = vmo.Diameter;
            this.textEditTranslationType.EditValue = vmo.TranslationType;
            this.txtMaterial.EditValue = vmo.Material;
            this.txtDescription.EditValue = vmo.Description;
        }
    }