nitrogen.data.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import { ref } from 'vue';
  2. export const bottomBtnList = ref([
  3. {
  4. text: '监控界面',
  5. value: 'nitrogenMonitor',
  6. isHover: false,
  7. },
  8. {
  9. text: '关键节点监测',
  10. value: 'nitrogenNode',
  11. isHover: false,
  12. },
  13. {
  14. text: '实时曲线',
  15. value: 'nitrogenEcharts',
  16. isHover: false,
  17. },
  18. {
  19. text: '压风机历史记录',
  20. value: 'nitrogenHistory',
  21. isHover: false,
  22. },
  23. {
  24. text: '操作历史记录',
  25. value: 'nitrogenHandleHistory',
  26. isHover: false,
  27. },
  28. {
  29. text: '故障诊断历史记录',
  30. value: 'nitrogenWarningHistory',
  31. isHover: false,
  32. },
  33. ]);
  34. export const monitorDataGroupNum1 = [1, 2, 3];
  35. export const monitorDataGroupNum2 = [4, 5];
  36. export const monitorDataGroupNum = ref(3)
  37. export const airCompressorState = ref([
  38. {
  39. id: '',
  40. compressRunSigF1: false,
  41. controlModel: false,
  42. },
  43. {
  44. id: '',
  45. compressRunSigF1: false,
  46. controlModel: false,
  47. },
  48. {
  49. id: '',
  50. compressRunSigF1: false,
  51. controlModel: false,
  52. },
  53. {
  54. id: '',
  55. compressRunSigF1: false,
  56. controlModel: false,
  57. },
  58. ]);
  59. export const showMonitorData = [
  60. {
  61. PRE_CPR_ExhaustPre: '排气压力(bar)',
  62. PRE_CPR_LoadPre: '加载压力(bar)',
  63. },
  64. {
  65. PRE_CPR_UnLoadPre: '卸载压力(bar)',
  66. PRE_CPR_LoadTime: '加载时间(h)',
  67. },
  68. {
  69. PRE_MOT_TotalRunTime: '总运行时间(h)',
  70. },
  71. ];
  72. export const monitorData = ref(
  73. new Array(4).fill({
  74. strName: '空压机',
  75. compressGroupName: '',
  76. compressExhaustPressF1: '-',
  77. compressSeparatePressF1: '-',
  78. compressHostTempF1: '-',
  79. compressCrewTempF1: '-',
  80. compressRunTimeF1: '-',
  81. controlModel: 'LOC',
  82. })
  83. );
  84. // dataInfo: {
  85. // controlModel: false
  86. // };
  87. // videoUrl: '',
  88. // isDestroyVideo: false,
  89. // navList: [
  90. // {
  91. // title: '监控界面',
  92. // pathName: 'nitrogen_page_lh'
  93. // },
  94. // // {
  95. // // title: '关键节点监测',
  96. // // pathName: 'critical_node'
  97. // // },
  98. // {
  99. // title: '实时曲线',
  100. // pathName: 'yfj_monitor_echarts_cy'
  101. // },
  102. // {
  103. // title: '压风机历史记录',
  104. // pathName: 'yfj_history'
  105. // },
  106. // {
  107. // title: '操作历史记录',
  108. // pathName: 'yfj_handler_history'
  109. // },
  110. // {
  111. // title: '故障诊断历史记录',
  112. // pathName: 'yfj_faultRecord'
  113. // }
  114. // ],
  115. // kyjMonitorDataKey: new Map(
  116. // [
  117. // ['压力', 'pressure'],
  118. // ['温度', 'temp'],
  119. // ]
  120. // ),