终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

142 строки
4.7 KiB

  1. using LiveCharts;
  2. using LiveCharts.SeriesAlgorithms;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPASmartClient.Academy.Model
  9. {
  10. public class DataFeedback : NotifyBase
  11. {
  12. private string _id = Guid.NewGuid().ToString();
  13. public string Id
  14. {
  15. get { return _id; }
  16. set { _id = value; OnPropertyChanged(); }
  17. }
  18. private string _name = "";
  19. public string Name
  20. {
  21. get { return _name; }
  22. set { _name = value; OnPropertyChanged(); }
  23. }
  24. public string ProductNumberId { get; set; }
  25. /// <summary>
  26. /// M101 速度曲线
  27. /// </summary>
  28. public ChartValues<DataValue> M101_Speed { get; set; } = new ChartValues<DataValue>();
  29. /// <summary>
  30. /// M102 速度曲线
  31. /// </summary>
  32. public ChartValues<DataValue> M102_Speed { get; set; } = new ChartValues<DataValue>();
  33. /// <summary>
  34. /// M102 速度曲线
  35. /// </summary>
  36. public ChartValues<DataValue> M103_Speed { get; set; } = new ChartValues<DataValue>();
  37. /// <summary>
  38. /// 比例阀开度曲线
  39. /// </summary>
  40. public ChartValues<DataValue> OpenValve { get; set; } = new ChartValues<DataValue>();
  41. /// <summary>
  42. /// 反应釜温度
  43. /// </summary>
  44. public ChartValues<DataValue> TempWok { get; set; } = new ChartValues<DataValue>();
  45. /// <summary>
  46. /// 配料罐温度
  47. /// </summary>
  48. public ChartValues<DataValue> TempMaterial { get; set; } = new ChartValues<DataValue>();
  49. /// <summary>
  50. /// 反应釜排气温度
  51. /// </summary>
  52. public ChartValues<DataValue> TempVent { get; set; } = new ChartValues<DataValue>();
  53. /// <summary>
  54. /// 反应釜压力
  55. /// </summary>
  56. public ChartValues<DataValue> PressureWok { get; set; } = new ChartValues<DataValue>();
  57. /// <summary>
  58. /// 反应釜蒸汽压力
  59. /// </summary>
  60. public ChartValues<DataValue> PressureWok_Week { get; set; } = new ChartValues<DataValue>();
  61. /// <summary>
  62. /// 反应釜重量
  63. /// </summary>
  64. public ChartValues<DataValue> WeightWok { get; set; } = new ChartValues<DataValue>();
  65. }
  66. public class DataFeedBack_50 : NotifyBase
  67. {
  68. private string _id = Guid.NewGuid().ToString();
  69. public string Id
  70. {
  71. get { return _id; }
  72. set { _id = value; OnPropertyChanged(); }
  73. }
  74. private string _name = "";
  75. public string Name
  76. {
  77. get { return _name; }
  78. set { _name = value; OnPropertyChanged(); }
  79. }
  80. public string ProductNumberId { get; set; }
  81. /// <summary>
  82. /// 反应釜温度
  83. /// </summary>
  84. public ChartValues<DataValue> Temperature { get; set; } = new ChartValues<DataValue>();
  85. /// <summary>
  86. /// 反应釜蒸汽压力
  87. /// </summary>
  88. public ChartValues<DataValue> SteamPressure { get; set; } = new ChartValues<DataValue>();
  89. /// <summary>
  90. /// 反应釜蒸汽流量
  91. /// </summary>
  92. public ChartValues<DataValue> SteamFlowRate { get; set; } = new ChartValues<DataValue>();
  93. /// <summary>
  94. /// 冷凝水罐温度
  95. /// </summary>
  96. public ChartValues<DataValue> CondensateWaterTemperature { get; set; } = new ChartValues<DataValue>();
  97. /// <summary>
  98. /// 冷凝水罐湿度
  99. /// </summary>
  100. public ChartValues<DataValue> CondensateWaterHumidity { get; set; } = new ChartValues<DataValue>();
  101. /// <summary>
  102. /// 负压流量
  103. /// </summary>
  104. public ChartValues<DataValue> NegativePressureFlowRate { get; set; } = new ChartValues<DataValue>();
  105. /// <summary>
  106. /// 称重水罐重量
  107. /// </summary>
  108. public ChartValues<DataValue> WeighingWaterTankWeight { get; set; } = new ChartValues<DataValue>();
  109. /// <summary>
  110. /// 反应釜编码器值
  111. /// </summary>
  112. public ChartValues<DataValue> ReactEncoderValue { get; set; } = new ChartValues<DataValue>();
  113. /// <summary>
  114. /// 蒸汽比例阀实际开度
  115. /// </summary>
  116. public ChartValues<DataValue> ProportionalValveOpening { get; set; } = new ChartValues<DataValue>();
  117. /// <summary>
  118. /// 卤水配制罐重量
  119. /// </summary>
  120. public ChartValues<DataValue> BrineTankWeight { get; set; } = new ChartValues<DataValue>();
  121. /// <summary>
  122. /// 反应釜压力
  123. /// </summary>
  124. public ChartValues<DataValue> ReactPressure { get; set; } = new ChartValues<DataValue>();
  125. }
  126. }