| | |
| | | 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 |
| | | { |
| | |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | } |
| | | |
| | | |
| | | private HStation.Vmo.AssetsCompressorMainVmo _vmo = null; |
| | | |
| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |