终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

80 lines
2.2 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Microsoft.Toolkit.Mvvm.ComponentModel;
  8. namespace BPASmartClient.CustomResource.Pages.Model
  9. {
  10. [Serializable]
  11. public class ReportTestModel : ReportBase
  12. {
  13. //[DataGridColumn(0)]//设置列的索引
  14. //[DisplayName("整数")]//设置设备名称
  15. //public int data1 { get { return _mdata1; } set { _mdata1 = value; OnPropertyChanged(); } }
  16. //private int _mdata1;
  17. //[DataGridColumn(1)]
  18. //[DisplayName("字节")]
  19. //public byte data2 { get { return _mdata2; } set { _mdata2 = value; OnPropertyChanged(); } }
  20. //private byte _mdata2;
  21. //[DataGridColumn(2)]
  22. //[DisplayName("布尔")]
  23. //public bool data3 { get { return _mdata3; } set { _mdata3 = value; OnPropertyChanged(); } }
  24. //private bool _mdata3;
  25. //[DataGridColumn(3)]
  26. //[DisplayName("字符串")]
  27. //public string data4 { get { return _mdata4; } set { _mdata4 = value; OnPropertyChanged(); } }
  28. //private string _mdata4;
  29. //[DataGridColumn(4)]
  30. //[DisplayName("浮点数")]
  31. //public float data5 { get { return _mdata5; } set { _mdata5 = value; OnPropertyChanged(); } }
  32. //private float _mdata5;
  33. //[DataGridColumn(5)]
  34. //[DisplayName("无符号整数")]
  35. //public ushort data6 { get { return _mdata6; } set { _mdata6 = value; OnPropertyChanged(); } }
  36. //private ushort _mdata6;
  37. [DataGridColumn(0)]//设置列的索引
  38. [DisplayName("整数")]//设置设备名称
  39. public int data1 { get; set; }
  40. [DataGridColumn(1)]
  41. [DisplayName("字节")]
  42. public byte data2 { get; set; }
  43. [DataGridColumn(2)]
  44. [DisplayName("布尔")]
  45. public bool data3 { get; set; }
  46. [DataGridColumn(3)]
  47. [DisplayName("字符串")]
  48. public string data4 { get; set; }
  49. [DataGridColumn(4)]
  50. [DisplayName("浮点数")]
  51. public float data5 { get; set; }
  52. [DataGridColumn(5)]
  53. [DisplayName("无符号整数")]
  54. public ushort data6 { get; set; }
  55. }
  56. }