Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using BPA.Helper;
-
- namespace BPASmartClient.CustomResource.Pages.Model
- {
- [Serializable]
- public class ReportTestModel : ReportBase
- {
- //[DataGridColumn(0)]//设置列的索引
- //[DisplayName("整数")]//设置设备名称
- //public int data1 { get { return _mdata1; } set { _mdata1 = value; OnPropertyChanged(); } }
- //private int _mdata1;
-
-
- //[DataGridColumn(1)]
- //[DisplayName("字节")]
- //public byte data2 { get { return _mdata2; } set { _mdata2 = value; OnPropertyChanged(); } }
- //private byte _mdata2;
-
-
- //[DataGridColumn(2)]
- //[DisplayName("布尔")]
- //public bool data3 { get { return _mdata3; } set { _mdata3 = value; OnPropertyChanged(); } }
- //private bool _mdata3;
-
-
- //[DataGridColumn(3)]
- //[DisplayName("字符串")]
- //public string data4 { get { return _mdata4; } set { _mdata4 = value; OnPropertyChanged(); } }
- //private string _mdata4;
-
-
- //[DataGridColumn(4)]
- //[DisplayName("浮点数")]
- //public float data5 { get { return _mdata5; } set { _mdata5 = value; OnPropertyChanged(); } }
- //private float _mdata5;
-
-
- //[DataGridColumn(5)]
- //[DisplayName("无符号整数")]
- //public ushort data6 { get { return _mdata6; } set { _mdata6 = value; OnPropertyChanged(); } }
- //private ushort _mdata6;
-
- [DataGridColumn(0)]//设置列的索引
- [DisplayName("整数")]//设置设备名称
- public int data1 { get; set; }
-
-
- [DataGridColumn(1)]
- [DisplayName("字节")]
- public byte data2 { get; set; }
-
-
- [DataGridColumn(2)]
- [DisplayName("布尔")]
- public bool data3 { get; set; }
-
-
- [DataGridColumn(3)]
- [DisplayName("字符串")]
- public string data4 { get; set; }
-
-
- [DataGridColumn(4)]
- [DisplayName("浮点数")]
- public float data5 { get; set; }
-
-
- [DataGridColumn(5)]
- [DisplayName("无符号整数")]
- public ushort data6 { get; set; }
-
- }
- }
|