| | |
| | | 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 HStation.Vmo; |
| | | using Yw; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | |
| | | public ViewAssetsCoolingSeriesDlg() |
| | | { |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | } |
| | | |
| | | |
| | | private AssetsCoolingSeriesVmo _vmo = null; |
| | | |
| | | /// <summary> |
| | | /// 绑定数据 |
| | | /// </summary> |
| | | public void SetBindingData(AssetsCoolingSeriesVmo vmo) |
| | | { |
| | | if (vmo == null) |
| | | { |
| | | return; |
| | | } |
| | | _vmo = new AssetsCoolingSeriesVmo(vmo); |
| | | this.txtName.EditValue = vmo.Name; |
| | | this.txtFlags.EditValue = Yw.Untity.FlagsHelper.ToString(vmo.Flags); |
| | | this.txtTagName.EditValue = vmo.TagName; |
| | | this.txtDescription.EditValue = vmo.Description; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |