lixiaojun
2024-12-19 1dd158434a41627a6684cd630b2696fb83b1e3d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using HStation.Vmo;
using Yw;
 
namespace HStation.WinFrmUI
{
    public partial class ViewAssetsFlowmeterSeriesDlg : DevExpress.XtraEditors.XtraForm
    {
        public ViewAssetsFlowmeterSeriesDlg()
        {
            InitializeComponent();
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
            this.layoutControl1.SetupLayoutControl();
        }
 
 
        private AssetsFlowmeterSeriesVmo _vmo = null;
 
        /// <summary>
        /// 绑定数据
        /// </summary>
        public void SetBindingData(AssetsFlowmeterSeriesVmo vmo)
        {
            if (vmo == null)
            {
                return;
            }
            _vmo = new AssetsFlowmeterSeriesVmo(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;
        }
 
 
 
 
 
 
 
 
 
    }
}