| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using Yw; |
| | | using Yw.DAL.Basic; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | |
| | | public ViewAssetsCoolingFactorDlg() |
| | | { |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | } |
| | | |
| | | private HStation.Vmo.AssetsCoolingFactorVmo _vmo = null; |
| | | |
| | | /// <summary> |
| | | /// 绑定数据 |
| | | /// </summary> |
| | | public void SetBindingData(HStation.Vmo.AssetsCoolingFactorVmo vmo) |
| | | { |
| | | if (vmo == null) |
| | | { |
| | | return; |
| | | } |
| | | _vmo = vmo; |
| | | this.txtName.EditValue = vmo.Name; |
| | | this.txtMaterial.EditValue = vmo.Material; |
| | | this.txtCaliber.EditValue = vmo.Caliber; |
| | | this.txtCoefficient.EditValue = vmo.Coefficient; |
| | | this.txtLowerLimit.EditValue = vmo.LowerLimit; |
| | | this.txtDescription.EditValue = vmo.Description; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |