ningshuxia
2025-03-24 7b8ae93d47186c442ff890a1a83d108f115924c7
WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/02-main/ViewAssetsCompressorMainDlg.cs
@@ -1,16 +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;
namespace HStation.WinFrmUI
namespace HStation.WinFrmUI
{
    public partial class ViewAssetsCompressorMainDlg : DevExpress.XtraEditors.XtraForm
    {
@@ -20,7 +8,6 @@
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
            this.layoutControl1.SetupLayoutControl();
        }
        private HStation.Vmo.AssetsCompressorMainVmo _vmo = null;
@@ -37,13 +24,11 @@
            this.txtName.EditValue = vmo.Name;
            this.txtMaterial.EditValue = vmo.Material;
            this.txtDiameter.EditValue = vmo.Diameter;
            this.txtCoefficient.EditValue = vmo.MinorLoss;
            this.txtMinorLoss.EditValue = vmo.MinorLoss;
            this.txtKeyWord.EditValue = HStation.Service.Assets.KeyWordHelper.ToString(vmo.KeyWords);
            this.txtFlags.EditValue = Yw.Untity.FlagsHelper.ToString(vmo.Flags);
            this.txtTagName.EditValue = vmo.TagName;
            this.txtDescription.EditValue = vmo.Description;
        }
    }
}