gasPump.data.ts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. import { reactive } from 'vue';
  2. export const warningConfig = reactive({
  3. header: ['设备名称', '预警信息', '时间'],
  4. data: [
  5. ['火焰6', '严重报警', '03-05'],
  6. ['测点43', '一般预警', '03-05'],
  7. ['CO23', '一版预警', '03-05'],
  8. ['测点6', '超高预警', '03-05'],
  9. ['测点65', '超高预警', '03-05'],
  10. ['温度4', '一般预警', '03-05'],
  11. ['测点61', '一般预警', '03-05'],
  12. ['测点87', '一般信息', '03-05'],
  13. ],
  14. index: false,
  15. // columnWidth: [150, 80, 150, 150],
  16. headerBGC: '#3d9dd45d',
  17. oddRowBGC: '#009acd10',
  18. evenRowBGC: '#009acd05',
  19. align: ['center', 'center', 'center'],
  20. });
  21. export const pumpMonitorData = [
  22. {
  23. title: '运行状态',
  24. code: 'CentrifugalPump_PU_CBStatus',
  25. type: 'sign',
  26. },
  27. {
  28. title: '启动准备',
  29. code: 'CentrifugalPump_PU_Ready',
  30. type: 'sign',
  31. },
  32. {
  33. title: '电压(V)',
  34. code: 'CentrifugalPump_PU_SysVoltage',
  35. type: '',
  36. },
  37. {
  38. title: 'A相电流(A)',
  39. code: 'CentrifugalPump_PU_Ia',
  40. type: '',
  41. },
  42. {
  43. title: 'B相电流(A)',
  44. code: 'CentrifugalPump_PU_Ib',
  45. type: '',
  46. },
  47. {
  48. title: 'C相电流(A)',
  49. code: 'CentrifugalPump_PU_Ic',
  50. type: '',
  51. },
  52. ];
  53. export const waterPumpData = [
  54. {
  55. title: '运行状态',
  56. code: 'WaterfloodPump_CBStatus',
  57. type: 'sign',
  58. },
  59. {
  60. title: '启动准备',
  61. code: 'WaterfloodPump_Ready',
  62. type: 'sign',
  63. },
  64. {
  65. title: '电压(V)',
  66. code: 'WaterfloodPump_SysVoltage',
  67. type: '',
  68. },
  69. ];
  70. export const dewateringPumpData = [
  71. {
  72. title: '运行状态',
  73. code: 'DewateringPump_CBStatus',
  74. type: 'sign',
  75. },
  76. {
  77. title: '启动准备',
  78. code: 'DewateringPump_Ready',
  79. type: 'sign',
  80. },
  81. {
  82. title: '电压(V)',
  83. code: 'DewateringPump_SysVoltage',
  84. type: '',
  85. },
  86. ];
  87. export const valveCtrlType = [
  88. {
  89. title: '进水阀',
  90. code: 'WaterInValve1',
  91. },
  92. {
  93. title: '排水阀',
  94. code: 'WaterOutValve2',
  95. },
  96. {
  97. title: '进气阀',
  98. code: 'AirInValve1',
  99. },
  100. {
  101. title: '排气阀',
  102. code: 'AirOutValve2',
  103. },
  104. ];
  105. export const valveCtrl = [
  106. {
  107. title: '开启',
  108. code: '_HMIOpen',
  109. },
  110. {
  111. title: '关闭',
  112. code: '_HMIClose',
  113. },
  114. {
  115. title: '停止',
  116. code: '_HMIStop',
  117. },
  118. {
  119. title: '复位',
  120. code: '_Reset',
  121. },
  122. ];
  123. export const valveState = [
  124. {
  125. title: '是否健康',
  126. code: '_Healthy',
  127. defaultValue: '-',
  128. },
  129. {
  130. title: '开失败',
  131. code: '_OpenFail',
  132. defaultValue: '-',
  133. },
  134. {
  135. title: '关失败',
  136. code: '_CloseFail',
  137. defaultValue: '-',
  138. },
  139. {
  140. title: '控制方式',
  141. code: '_CtrlMode',
  142. defaultValue: '-',
  143. },
  144. ];
  145. export const pumpCtrlType = [
  146. {
  147. title: '瓦斯泵',
  148. code: 'CentrifugalPump',
  149. },
  150. {
  151. title: '排水泵',
  152. code: 'DewateringPump',
  153. },
  154. ];
  155. export const publicPumpCtrlType = [
  156. {
  157. title: '注水泵',
  158. code: 'WaterfloodPump',
  159. },
  160. ];
  161. export const PumpCtrlItems = [
  162. {
  163. title: '启动',
  164. code: '_SwitchOn',
  165. },
  166. {
  167. title: '停止',
  168. code: '_SwitchOff',
  169. },
  170. {
  171. title: '短路测试',
  172. code: '_HMIShortTest',
  173. },
  174. {
  175. title: '漏电测试',
  176. code: '_HMILeakageTest',
  177. },
  178. ];
  179. export const stateHeader = ['设备名称', '是否健康', '开失败', '关失败', '控制方式'];
  180. export const modelMonitor = [
  181. {
  182. title: '泵站输入管道内工混流量(m³/min)',
  183. code: 'mixedTraffic',
  184. },
  185. {
  186. title: '泵站内瓦斯(%CH₄)',
  187. code: 'gas2',
  188. },
  189. {
  190. title: '泵站输入管道内标况流量(m³/min)',
  191. code: 'standardTraffic',
  192. },
  193. {
  194. title: '泵站输入管道内瓦斯(%CH₄)',
  195. code: 'gas3',
  196. },
  197. {
  198. title: '泵站输入管道内工混累计(m³)',
  199. code: 'totalGasDrainage',
  200. },
  201. {
  202. title: '泵站管道输出瓦斯(%CH₄)',
  203. code: 'gas4',
  204. },
  205. {
  206. title: '泵站输入管道内一氧化碳(ppm)',
  207. code: 'coVal',
  208. },
  209. {
  210. title: '泵站管路出口30米处瓦斯(%CH₄)',
  211. code: 'gas1',
  212. },
  213. {
  214. title: '泵站内温度(℃)',
  215. code: 'temp',
  216. },
  217. {
  218. title: '泵站输入管道内温度(℃)',
  219. code: 'pipeTemp',
  220. },
  221. ];