gasPump.data.ts 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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 pumpMonitorData = [
  54. {
  55. title: '断路器状态',
  56. code: 'Starter_CBStatus',
  57. type: 'sign',
  58. },
  59. {
  60. title: '合闸失败',
  61. code: 'Starter_CloseFail',
  62. type: 'warning',
  63. },
  64. {
  65. title: 'A相电流(A)',
  66. code: 'Starter_Ia',
  67. type: '',
  68. },
  69. {
  70. title: 'B相电流(A)',
  71. code: 'Starter_Ib',
  72. type: '',
  73. },
  74. {
  75. title: 'C相电流(A)',
  76. code: 'Starter_Ic',
  77. type: '',
  78. },
  79. {
  80. title: 'AB电压(V)',
  81. code: 'Starter_Uab',
  82. type: '',
  83. },
  84. {
  85. title: '健康信号',
  86. code: 'Starter_Ready',
  87. type: 'sign',
  88. },
  89. ];
  90. export const waterPumpData = [
  91. {
  92. title: '运行状态',
  93. code: 'WaterfloodPump_CBStatus',
  94. type: 'sign',
  95. },
  96. {
  97. title: '启动准备',
  98. code: 'WaterfloodPump_Ready',
  99. type: 'sign',
  100. },
  101. {
  102. title: '电压(V)',
  103. code: 'WaterfloodPump_SysVoltage',
  104. type: '',
  105. },
  106. ];
  107. export const dewateringPumpData = [
  108. {
  109. title: '运行状态',
  110. code: 'DewateringPump_CBStatus',
  111. type: 'sign',
  112. },
  113. {
  114. title: '启动准备',
  115. code: 'DewateringPump_Ready',
  116. type: 'sign',
  117. },
  118. {
  119. title: '电压(V)',
  120. code: 'DewateringPump_SysVoltage',
  121. type: '',
  122. },
  123. ];
  124. export const valveCtrlType = [
  125. {
  126. title: '进水阀',
  127. code: 'WaterInValve1',
  128. },
  129. {
  130. title: '排水阀',
  131. code: 'WaterOutValve2',
  132. },
  133. {
  134. title: '进气阀',
  135. code: 'AirInValve1',
  136. },
  137. {
  138. title: '排气阀',
  139. code: 'AirOutValve2',
  140. },
  141. ];
  142. export const valveCtrl = [
  143. {
  144. title: '开启',
  145. code: '_HMIOpen',
  146. },
  147. {
  148. title: '关闭',
  149. code: '_HMIClose',
  150. },
  151. {
  152. title: '停止',
  153. code: '_HMIStop',
  154. },
  155. {
  156. title: '复位',
  157. code: '_Reset',
  158. },
  159. ];
  160. export const stateWarningHeader = ['设备名称', '开限位', '关限位', '开输出', '关输出'];
  161. export const stateHeader = ['设备名称', '是否健康', '开失败', '关失败', '控制方式'];
  162. export const valveWarningState = [
  163. {
  164. title: '开限位',
  165. code: '_OpenLimit',
  166. defaultValue: '-',
  167. },
  168. {
  169. title: '关限位',
  170. code: '_CloseLimit',
  171. defaultValue: '-',
  172. },
  173. {
  174. title: '开输出',
  175. code: '_OnOutput',
  176. defaultValue: '-',
  177. },
  178. {
  179. title: '关输出',
  180. code: '_OffOutput',
  181. defaultValue: '-',
  182. },
  183. ];
  184. export const valveState = [
  185. {
  186. title: '是否健康',
  187. code: '_Healthy',
  188. defaultValue: '-',
  189. },
  190. {
  191. title: '开失败',
  192. code: '_OpenFail',
  193. defaultValue: '-',
  194. },
  195. {
  196. title: '关失败',
  197. code: '_CloseFail',
  198. defaultValue: '-',
  199. },
  200. {
  201. title: '控制方式',
  202. code: '_CtrlMode',
  203. defaultValue: '-',
  204. },
  205. ];
  206. export const pumpCtrlType = [
  207. {
  208. title: '瓦斯泵',
  209. code: 'CentrifugalPump',
  210. },
  211. {
  212. title: '排水泵',
  213. code: 'DewateringPump',
  214. },
  215. ];
  216. export const publicPumpCtrlType = [
  217. {
  218. title: '注水泵',
  219. code: 'WaterfloodPump',
  220. },
  221. ];
  222. export const PumpCtrlItems = [
  223. {
  224. title: '启动',
  225. code: '_SwitchOn',
  226. },
  227. {
  228. title: '停止',
  229. code: '_SwitchOff',
  230. },
  231. {
  232. title: '短路测试',
  233. code: '_HMIShortTest',
  234. },
  235. {
  236. title: '漏电测试',
  237. code: '_HMILeakageTest',
  238. },
  239. ];
  240. export const modelMonitor = [
  241. {
  242. title: '泵站输入管道内工混流量(m³/min)',
  243. code: 'mixedTraffic',
  244. },
  245. {
  246. title: '泵站内瓦斯(%CH₄)',
  247. code: 'gas2',
  248. },
  249. {
  250. title: '泵站输入管道内标况流量(m³/min)',
  251. code: 'standardTraffic',
  252. },
  253. {
  254. title: '泵站输入管道内瓦斯(%CH₄)',
  255. code: 'gas3',
  256. },
  257. {
  258. title: '泵站输入管道内工混累计(m³)',
  259. code: 'totalGasDrainage',
  260. },
  261. {
  262. title: '泵站管道输出瓦斯(%CH₄)',
  263. code: 'gas4',
  264. },
  265. {
  266. title: '泵站输入管道内一氧化碳(ppm)',
  267. code: 'coVal',
  268. },
  269. {
  270. title: '泵站管路出口30米处瓦斯(%CH₄)',
  271. code: 'gas1',
  272. },
  273. {
  274. title: '泵站内温度(℃)',
  275. code: 'temp',
  276. },
  277. {
  278. title: '泵站输入管道内温度(℃)',
  279. code: 'pipeTemp',
  280. },
  281. ];