终端一体化运控平台
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.

EventModel.cs 1.9 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BeDesignerSCADA.ViewModel
  7. {
  8. /// <summary>
  9. /// 事件Model
  10. /// </summary>
  11. public class EventModel
  12. {
  13. /// <summary>
  14. /// 事件id
  15. /// </summary>
  16. public string EventId { get; set; }
  17. /// <summary>
  18. /// 事件名称
  19. /// </summary>
  20. public string EventName { get; set; }
  21. /// <summary>
  22. /// 事件值
  23. /// </summary>
  24. public string EventValue { get; set; }
  25. /// <summary>
  26. /// 特性:分组
  27. /// </summary>
  28. public string Category { get; set; }
  29. /// <summary>
  30. /// 特性:描述
  31. /// </summary>
  32. public string Description { get; set; }
  33. /// <summary>
  34. /// 特性:是否启用
  35. /// </summary>
  36. public bool Browsable { get; set; }
  37. public EventModel()
  38. {
  39. EventId=Guid.NewGuid().ToString();
  40. }
  41. }
  42. /// <summary>
  43. /// 数据Model
  44. /// </summary>
  45. public class ALLModel
  46. {
  47. /// <summary>
  48. /// 数据id
  49. /// </summary>
  50. public string DataId { get; set; }
  51. /// <summary>
  52. /// 数据名称
  53. /// </summary>
  54. public string DataName { get; set; }
  55. /// <summary>
  56. /// 数据值
  57. /// </summary>
  58. public string DataValue { get; set; }
  59. /// <summary>
  60. /// 特性:分组
  61. /// </summary>
  62. public string Category { get; set; }
  63. /// <summary>
  64. /// 特性:描述
  65. /// </summary>
  66. public string Description { get; set; }
  67. /// <summary>
  68. /// 特性:是否启用
  69. /// </summary>
  70. public bool Browsable { get; set; }
  71. public ALLModel()
  72. {
  73. DataId = Guid.NewGuid().ToString();
  74. }
  75. }
  76. }