gasAssessment.data.ts 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360
  1. import { reactive, ref } from 'vue';
  2. import echarts from '/@/utils/lib/echarts';
  3. import { ModuleDataChart } from '/@/views/vent/deviceManager/configurationTable/types';
  4. export const monitorNav = [
  5. {
  6. title: '达标评判',
  7. pathName: 'gasAssessment',
  8. isShow: true,
  9. },
  10. {
  11. title: '智能调控',
  12. pathName: 'gasControl',
  13. isShow: false,
  14. },
  15. {
  16. title: '单元时程曲线',
  17. pathName: 'gasEcharts',
  18. isShow: false,
  19. },
  20. {
  21. title: '管道监测',
  22. pathName: 'gasPiping',
  23. isShow: false,
  24. },
  25. {
  26. title: '视频监测',
  27. pathName: 'gasVideo',
  28. isHover: false,
  29. },
  30. // {
  31. // title: '故障诊断',
  32. // pathName: 'gasAlarm',
  33. // isHover: false,
  34. // },
  35. ];
  36. export const echartsOption = reactive({
  37. tooltip: { trigger: 'axis', axisPointer: { lineStyle: { color: '#fff' } } },
  38. legend: {
  39. top: '-5',
  40. icon: 'rect',
  41. data: ['进风', '回风'],
  42. right: '10px',
  43. textStyle: { fontSize: 12, color: '#fff' },
  44. },
  45. grid: { x: 50, y: 50, x2: 12, y2: 40, bottom: '25', top: '10' },
  46. xAxis: {
  47. type: 'category',
  48. boundaryGap: false,
  49. axisLine: { lineStyle: { color: '#8EAFB9' } },
  50. axisLabel: { color: '#ffffffcc' },
  51. splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
  52. data: [],
  53. },
  54. yAxis: [
  55. {
  56. type: 'value',
  57. name: 'm³/min',
  58. axisTick: {
  59. show: false,
  60. },
  61. axisLine: { lineStyle: { show: true, color: '#8EAFB9' } },
  62. axisLabel: { margin: 10, fontSize: 12, color: '#ffffffcc' },
  63. splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
  64. },
  65. ],
  66. series: [
  67. {
  68. name: '进风',
  69. type: 'line',
  70. smooth: true,
  71. lineStyle: { width: 2 },
  72. yAxisIndex: 0,
  73. // markLine: {
  74. // data: [{ yAxis: 0, name: '需风量' }],
  75. // },
  76. areaStyle: {
  77. color: new echarts.graphic.LinearGradient(
  78. 0,
  79. 0,
  80. 0,
  81. 1,
  82. [
  83. {
  84. offset: 0,
  85. color: 'rgba(185,150,248,0.3)',
  86. },
  87. {
  88. offset: 0.8,
  89. color: 'rgba(185,150,248,0)',
  90. },
  91. ],
  92. false
  93. ),
  94. shadowColor: 'rgba(0, 0, 0, 0.1)',
  95. shadowBlur: 10,
  96. },
  97. itemStyle: { color: '#B996F8' },
  98. data: [],
  99. },
  100. {
  101. name: '回风',
  102. type: 'line',
  103. smooth: true,
  104. lineStyle: { width: 2 },
  105. yAxisIndex: 0,
  106. // markLine: {
  107. // data: [{ yAxis: 0, name: '需风量' }],
  108. // },
  109. areaStyle: {
  110. color: new echarts.graphic.LinearGradient(
  111. 0,
  112. 0,
  113. 0,
  114. 1,
  115. [
  116. {
  117. offset: 0,
  118. color: 'rgba(3, 194, 236, 0.3)',
  119. },
  120. {
  121. offset: 0.8,
  122. color: 'rgba(3, 194, 236, 0)',
  123. },
  124. ],
  125. false
  126. ),
  127. shadowColor: 'rgba(0, 0, 0, 0.1)',
  128. shadowBlur: 10,
  129. },
  130. itemStyle: { color: '#03C2EC' },
  131. data: [],
  132. },
  133. ],
  134. });
  135. export const gasMonitor = [
  136. {
  137. title: '工作面编号',
  138. code: 'T0',
  139. unit: '',
  140. },
  141. {
  142. title: '所属采区',
  143. code: 'T1',
  144. unit: '',
  145. },
  146. {
  147. title: '开采煤层',
  148. code: 'T2',
  149. unit: '',
  150. },
  151. {
  152. title: '工作面走向长度',
  153. code: 'CO2',
  154. unit: 'm',
  155. },
  156. {
  157. title: '工作面切眼长度',
  158. code: 'gasC',
  159. unit: 'm',
  160. },
  161. {
  162. title: '工作面煤炭储量',
  163. code: 'gasMixMass',
  164. unit: 'm³/t',
  165. },
  166. {
  167. title: '原始瓦斯储量',
  168. code: 'gasMass',
  169. unit: 'm³/t',
  170. },
  171. {
  172. title: '工作面瓦斯含量',
  173. code: 'gasMass',
  174. unit: 'm³/t',
  175. },
  176. {
  177. title: '预抽瓦斯标量 (m³)',
  178. code: 'gasTotalMass',
  179. unit: '',
  180. },
  181. {
  182. title: '抽采单元数量',
  183. code: 'windPressure',
  184. unit: '',
  185. },
  186. ];
  187. export const gasUnitBase = [
  188. {
  189. title: '单元名称',
  190. code: 'T0',
  191. unit: '',
  192. },
  193. {
  194. title: '煤炭储量',
  195. code: 'T1',
  196. unit: '',
  197. },
  198. {
  199. title: '瓦斯储量',
  200. code: 'T2',
  201. unit: 'm³/t',
  202. },
  203. {
  204. title: '钻孔施工长度',
  205. code: 'CO2',
  206. unit: 'm',
  207. },
  208. {
  209. title: '单元瓦斯含量',
  210. code: 'gasC',
  211. unit: 'm³/t',
  212. },
  213. {
  214. title: '单元原始瓦斯压力',
  215. code: 'gasMixMass',
  216. unit: 'MPa',
  217. },
  218. {
  219. title: '抽采钻孔管径',
  220. code: 'gasMass',
  221. unit: 'm',
  222. },
  223. {
  224. title: '抽采单元汇总管径',
  225. code: 'gasMass',
  226. unit: 'm',
  227. },
  228. ];
  229. export const gasUnitMonitor = [
  230. {
  231. title: '瓦斯总储量',
  232. code: 'T0',
  233. unit: 'm³/t',
  234. },
  235. {
  236. title: '抽采达标量',
  237. code: 'T1',
  238. unit: 'm³/t',
  239. },
  240. {
  241. title: '累计抽采纯量',
  242. code: 'T2',
  243. unit: 'm³/t',
  244. },
  245. {
  246. title: '当前抽采率',
  247. code: 'CO2',
  248. unit: '%',
  249. },
  250. {
  251. title: '实时抽采率',
  252. code: 'gasC',
  253. unit: '%',
  254. },
  255. {
  256. title: '实时抽采浓度',
  257. code: 'gasMixMass',
  258. unit: '%',
  259. },
  260. {
  261. title: '实时抽采负压',
  262. code: 'gasMass',
  263. unit: 'MPa',
  264. },
  265. {
  266. title: '残余瓦斯压力',
  267. code: 'gasMass',
  268. unit: 'MPa',
  269. },
  270. ];
  271. export const monitorPosData = [
  272. {
  273. title: '负压',
  274. code: 'T0',
  275. unit: 'kPa',
  276. },
  277. {
  278. title: 'CH₄浓度',
  279. code: 'T1',
  280. unit: '%',
  281. },
  282. {
  283. title: '流量',
  284. code: 'T2',
  285. unit: 'm³/min',
  286. },
  287. {
  288. title: '管道温度',
  289. code: 'CO2',
  290. unit: '℃',
  291. },
  292. {
  293. title: 'CO浓度',
  294. code: 'gasC',
  295. unit: 'ppm',
  296. },
  297. ];
  298. export const monitorValveData = [
  299. {
  300. title: '1#阀门',
  301. code: 'T0',
  302. unit: '°',
  303. },
  304. {
  305. title: '2#阀门',
  306. code: 'T1',
  307. unit: '°',
  308. },
  309. {
  310. title: '3#阀门',
  311. code: 'T2',
  312. unit: '°',
  313. },
  314. {
  315. title: '4#阀门',
  316. code: 'CO2',
  317. unit: '°',
  318. },
  319. {
  320. title: '5#阀门',
  321. code: 'gasC',
  322. unit: '°',
  323. },
  324. ];
  325. export const gasParamData = [
  326. {
  327. title: '走向长度 (m)',
  328. code: 'lenH',
  329. },
  330. {
  331. title: '倾向长度 (m)',
  332. code: 'lenDip',
  333. },
  334. {
  335. title: '煤层厚度 (m)',
  336. code: 'thickness',
  337. },
  338. {
  339. title: '煤层倾角 (°)',
  340. code: 'angleDip',
  341. },
  342. {
  343. title: '吸附常数a (cm³/gdaf)',
  344. code: 'adsorbA',
  345. },
  346. {
  347. title: '吸附常数b (MPa-l)',
  348. code: 'adsorbB',
  349. },
  350. {
  351. title: '水分Mad (%)',
  352. code: 'waterMad',
  353. },
  354. {
  355. title: '灰分Ad (%)',
  356. code: 'dustAd',
  357. },
  358. {
  359. title: '挥发分Vdaf (%)',
  360. code: 'volatilizeAd',
  361. },
  362. {
  363. title: '孔隙率 (m³)',
  364. code: 'poreRate',
  365. },
  366. {
  367. title: '真相对密度',
  368. code: 'trueDensity',
  369. },
  370. {
  371. title: '视相对密度',
  372. code: 'apparentDensity',
  373. },
  374. ];
  375. export const currentGasMonitor = [
  376. {
  377. title: '原始瓦斯含量 (m³/t)',
  378. code: 'gasOriginalMass',
  379. },
  380. {
  381. title: '残余瓦斯含量 (m³/t)',
  382. code: 'gasRemnantMass',
  383. },
  384. {
  385. title: '残存瓦斯含量 (m³/t)',
  386. code: 'gasSurviveMass',
  387. },
  388. {
  389. title: '瓦斯压力 (MPa)',
  390. code: 'gasTotalMass',
  391. },
  392. {
  393. title: '煤层厚度 (m)',
  394. code: 'currentThickness',
  395. },
  396. {
  397. title: '煤层倾角 (°)',
  398. code: 'currentAngleDip',
  399. },
  400. {
  401. title: '地质构造',
  402. code: 'geologicStructure',
  403. },
  404. ];
  405. export const gasPumpValve = [
  406. {
  407. title: '开抽日期',
  408. code: 'T0',
  409. unit: '',
  410. },
  411. {
  412. title: '支管抽采负压',
  413. code: 'T0',
  414. unit: '',
  415. },
  416. {
  417. title: '支管抽采流量',
  418. code: 'T0',
  419. unit: '',
  420. },
  421. {
  422. title: '抽采管路气体温度',
  423. code: 'T0',
  424. unit: '',
  425. },
  426. {
  427. title: '抽采管路甲烷浓度',
  428. code: 'T0',
  429. unit: '',
  430. },
  431. {
  432. title: '抽采管路一氧化碳浓度',
  433. code: 'T0',
  434. unit: '',
  435. },
  436. {
  437. title: '累计流量',
  438. code: 'T0',
  439. unit: '',
  440. },
  441. {
  442. title: '累计纯量',
  443. code: 'T0',
  444. unit: '',
  445. },
  446. ];
  447. export const gasUnitDetail = [
  448. {
  449. title: '开抽日期',
  450. code: 'startDay',
  451. // unit: 'kPa',
  452. },
  453. {
  454. title: '瓦斯储量',
  455. code: 'CH4 ',
  456. // unit: '%',
  457. },
  458. {
  459. title: '抽采负压',
  460. code: 'temperature',
  461. // unit: '℃',
  462. },
  463. {
  464. title: '抽采流量',
  465. code: 'flowRate',
  466. // unit: '万m³',
  467. },
  468. {
  469. title: '气体温度',
  470. code: 'scalarRate',
  471. // unit: '万m³',
  472. },
  473. {
  474. title: '甲烷浓度',
  475. code: 'CH4',
  476. // unit: '万m³',
  477. },
  478. {
  479. title: '一氧化碳浓度',
  480. code: 'CO',
  481. // unit: '万m³',
  482. },
  483. {
  484. title: '累计纯量',
  485. code: 'unit=Mass',
  486. },
  487. ];
  488. export function getBezierControlPoint(A = { x: 1, y: 1 }, alpha_degrees = 45, d = 10) {
  489. // 转换角度为弧度
  490. const alpha_radians = (alpha_degrees * Math.PI) / 180;
  491. // 计算 C 点的坐标
  492. const C = {
  493. x: A.x + d * Math.cos(alpha_radians),
  494. y: A.y + d * Math.sin(alpha_radians),
  495. };
  496. return C;
  497. }
  498. export const headerBadges = ref([
  499. {
  500. value: 'T1',
  501. desc: '瓦斯总储量',
  502. code: '',
  503. },
  504. {
  505. value: 'T2',
  506. desc: '抽采达标量',
  507. code: '',
  508. },
  509. {
  510. value: 'T3',
  511. desc: '累计抽采量',
  512. code: '',
  513. },
  514. {
  515. value: 'T4',
  516. desc: '预抽比率',
  517. code: '',
  518. },
  519. {
  520. value: 'T5',
  521. desc: '已抽时间',
  522. code: '',
  523. },
  524. ]);
  525. export const gasUnitBarOption: ModuleDataChart = {
  526. type: 'bar_cylinder',
  527. readFrom: '',
  528. legend: { show: true },
  529. xAxis: [{ show: true }],
  530. yAxis: [{ show: true, name: '', position: 'left' }],
  531. series: [
  532. {
  533. readFrom: 'arrayDev',
  534. xprop: 'strinstallpos',
  535. yprop: 'val',
  536. label: '',
  537. },
  538. ],
  539. };
  540. export const mockData = {
  541. id: 4,
  542. objType: '氧气',
  543. arrayDev: [
  544. {
  545. strinstallpos: '抽采单元1',
  546. val: '1.76',
  547. },
  548. {
  549. strinstallpos: '抽采单元2',
  550. val: '0.08',
  551. },
  552. {
  553. strinstallpos: '抽采单元3',
  554. val: '0.30',
  555. },
  556. {
  557. strinstallpos: '抽采单元4',
  558. val: '0.67',
  559. },
  560. {
  561. strinstallpos: '抽采单元5',
  562. val: '0.67',
  563. },
  564. ],
  565. };
  566. export const gasUnitPieOption: ModuleDataChart = {
  567. type: 'pie',
  568. readFrom: '',
  569. legend: { show: true },
  570. xAxis: [{ show: true }],
  571. yAxis: [{ show: true, name: '', position: 'left' }],
  572. series: [
  573. {
  574. readFrom: 'arrayDev',
  575. xprop: 'strinstallpos',
  576. yprop: 'val',
  577. label: '',
  578. },
  579. ],
  580. };
  581. export const mockPieData = {
  582. id: 4,
  583. objType: '氧气',
  584. arrayDev: [
  585. {
  586. strinstallpos: '抽采单元1',
  587. val: '1.76',
  588. },
  589. {
  590. strinstallpos: '抽采单元2',
  591. val: '0.08',
  592. },
  593. {
  594. strinstallpos: '抽采单元3',
  595. val: '0.30',
  596. },
  597. {
  598. strinstallpos: '抽采单元4',
  599. val: '0.67',
  600. },
  601. {
  602. strinstallpos: '抽采单元5',
  603. val: '0.67',
  604. },
  605. ],
  606. };
  607. export const gasUnitHlOption: ModuleDataChart = {
  608. type: 'line_area',
  609. readFrom: '',
  610. legend: { show: false },
  611. xAxis: [{ show: true }],
  612. yAxis: [{ show: true, name: '混量(m³/t)', position: 'left' }],
  613. series: [{ readFrom: 'history', xprop: 'time', yprop: 'val', label: '单元瓦斯混量' }],
  614. };
  615. export const mockGasUnitHlData = {
  616. id: 4,
  617. objType: '氧气',
  618. history: [
  619. {
  620. time: '2024-12-13',
  621. val: '113.76',
  622. },
  623. {
  624. time: '2024-12-14',
  625. val: '153.76',
  626. },
  627. {
  628. time: '2024-12-15',
  629. val: '163.76',
  630. },
  631. {
  632. time: '2024-12-16',
  633. val: '193.76',
  634. },
  635. {
  636. time: '2024-12-17',
  637. val: '203.76',
  638. },
  639. {
  640. time: '2024-12-18',
  641. val: '223.76',
  642. },
  643. ],
  644. };
  645. export const gasUnitClOption: ModuleDataChart = {
  646. type: 'line_area',
  647. readFrom: '',
  648. legend: { show: false },
  649. xAxis: [{ show: true }],
  650. yAxis: [{ show: true, name: '纯量(m³/t)', position: 'left' }],
  651. series: [{ readFrom: 'history', xprop: 'time', yprop: 'val', label: '单元瓦斯纯量', color: '#FAC858' }],
  652. };
  653. export const mockGasUnitClData = {
  654. id: 4,
  655. objType: '氧气',
  656. history: [
  657. {
  658. time: '2024-12-13',
  659. val: '103.76',
  660. },
  661. {
  662. time: '2024-12-14',
  663. val: '133.76',
  664. },
  665. {
  666. time: '2024-12-15',
  667. val: '143.76',
  668. },
  669. {
  670. time: '2024-12-16',
  671. val: '173.76',
  672. },
  673. {
  674. time: '2024-12-17',
  675. val: '193.76',
  676. },
  677. {
  678. time: '2024-12-18',
  679. val: '213.76',
  680. },
  681. ],
  682. };
  683. export const gasUnitOption = [
  684. {
  685. legend: '瓦斯浓度',
  686. seriesName: '(m³/t)',
  687. ymax: 10000,
  688. yname: 'm³/t',
  689. linetype: 'line',
  690. yaxispos: 'left',
  691. color: '#37BCF2',
  692. sort: 1,
  693. xRotate: 10,
  694. dataIndex: 'nd',
  695. },
  696. {
  697. legend: '抽采负压',
  698. seriesName: '(MPa)',
  699. ymax: 50,
  700. yname: 'MPa',
  701. linetype: 'line',
  702. yaxispos: 'right',
  703. color: '#FC4327',
  704. sort: 2,
  705. xRotate: 10,
  706. dataIndex: 'fy',
  707. },
  708. {
  709. legend: '瓦斯流量',
  710. seriesName: '(%)',
  711. ymax: 50,
  712. yname: '%',
  713. linetype: 'line',
  714. yaxispos: 'right',
  715. color: '#91CC75',
  716. sort: 3,
  717. xRotate: 10,
  718. dataIndex: 'flowNum',
  719. },
  720. ];
  721. export const mockGasUnitData = {
  722. history: [
  723. {
  724. time: '08:12:00',
  725. flowNum: '103.76',
  726. fy: '786.87',
  727. nd: '43',
  728. },
  729. {
  730. time: '08:12:01',
  731. flowNum: '123.76',
  732. fy: '886.87',
  733. nd: '43',
  734. },
  735. {
  736. time: '08:12:02',
  737. flowNum: '153.76',
  738. fy: '896.87',
  739. nd: '43',
  740. },
  741. {
  742. time: '08:12:03',
  743. flowNum: '173.76',
  744. fy: '1010.87',
  745. nd: '43',
  746. },
  747. {
  748. time: '08:12:04',
  749. flowNum: '163.76',
  750. fy: '900.87',
  751. nd: '43',
  752. },
  753. {
  754. time: '08:12:05',
  755. flowNum: '113.76',
  756. fy: '983.87',
  757. nd: '43',
  758. },
  759. ],
  760. };
  761. // 管道甲烷
  762. export const gasPipingCH4Option = [
  763. {
  764. legend: '主管道',
  765. seriesName: '(%)',
  766. ymax: 50,
  767. yname: '%',
  768. linetype: 'line',
  769. yaxispos: 'left',
  770. color: '#37BCF2',
  771. sort: 1,
  772. xRotate: 10,
  773. dataIndex: 'CH40',
  774. },
  775. {
  776. legend: '支路1',
  777. seriesName: '(%)',
  778. ymax: 50,
  779. yname: '%',
  780. linetype: 'line',
  781. yaxispos: 'left',
  782. color: '#FC4327',
  783. sort: 1,
  784. xRotate: 10,
  785. dataIndex: 'CH41',
  786. },
  787. {
  788. legend: '支路2',
  789. seriesName: '(%)',
  790. ymax: 50,
  791. yname: '%',
  792. linetype: 'line',
  793. yaxispos: 'left',
  794. color: '#91CC75',
  795. sort: 1,
  796. xRotate: 10,
  797. dataIndex: 'CH42',
  798. },
  799. ];
  800. export const mockGasPipingData = [
  801. {
  802. time: '08:12:00',
  803. CH40: '43',
  804. CH41: '24.23',
  805. CH42: '14.23',
  806. },
  807. {
  808. time: '08:12:01',
  809. CH40: '43',
  810. CH41: '28.23',
  811. CH42: '16.23',
  812. },
  813. {
  814. time: '08:12:02',
  815. CH40: '43',
  816. CH41: '21.23',
  817. CH42: '16.23',
  818. },
  819. {
  820. time: '08:12:03',
  821. CH40: '43',
  822. CH41: '25.23',
  823. CH42: '11.23',
  824. },
  825. {
  826. time: '08:12:04',
  827. CH40: '43',
  828. CH41: '27.23',
  829. CH42: '15.23',
  830. },
  831. {
  832. time: '08:12:05',
  833. CH40: '43',
  834. CH41: '28.23',
  835. CH42: '12.23',
  836. },
  837. ];
  838. // 管道一氧化碳
  839. export const gasPipingCOOption = [
  840. {
  841. legend: '主管道',
  842. seriesName: '(ppm)',
  843. ymax: 50,
  844. yname: 'ppm',
  845. linetype: 'line',
  846. yaxispos: 'left',
  847. color: '#37BCF2',
  848. sort: 1,
  849. xRotate: 10,
  850. dataIndex: 'CO0',
  851. },
  852. {
  853. legend: '支路1',
  854. seriesName: '(ppm)',
  855. ymax: 50,
  856. yname: 'ppm',
  857. linetype: 'line',
  858. yaxispos: 'left',
  859. color: '#FC4327',
  860. sort: 1,
  861. xRotate: 10,
  862. dataIndex: 'CO1',
  863. },
  864. {
  865. legend: '支路2',
  866. seriesName: '(ppm)',
  867. ymax: 50,
  868. yname: 'ppm',
  869. linetype: 'line',
  870. yaxispos: 'left',
  871. color: '#91CC75',
  872. sort: 1,
  873. xRotate: 10,
  874. dataIndex: 'CO2',
  875. },
  876. ];
  877. export const mockGasPipingCOData = [
  878. {
  879. time: '08:12:00',
  880. CO0: '43',
  881. CO1: '24.23',
  882. CO2: '14.23',
  883. },
  884. {
  885. time: '08:12:01',
  886. CO0: '21.98',
  887. CO1: '18.23',
  888. CO2: '16.23',
  889. },
  890. {
  891. time: '08:12:02',
  892. CO0: '23.89',
  893. CO1: '21.23',
  894. CO2: '16.23',
  895. },
  896. {
  897. time: '08:12:03',
  898. CO0: '20.23',
  899. CO1: '15.23',
  900. CO2: '11.23',
  901. },
  902. {
  903. time: '08:12:04',
  904. CO0: '24.75',
  905. CO1: '17.23',
  906. CO2: '15.23',
  907. },
  908. {
  909. time: '08:12:05',
  910. CO0: '23.45',
  911. CO1: '18.23',
  912. CO2: '12.23',
  913. },
  914. ];
  915. // 管道温度
  916. export const gasPipingWdOption = [
  917. {
  918. legend: '主管道',
  919. seriesName: '(℃)',
  920. ymax: 20,
  921. yname: '℃',
  922. linetype: 'line',
  923. yaxispos: 'left',
  924. color: '#37BCF2',
  925. sort: 1,
  926. xRotate: 10,
  927. dataIndex: 'wd0',
  928. },
  929. {
  930. legend: '支路1',
  931. seriesName: '(℃)',
  932. ymax: 20,
  933. yname: '℃',
  934. linetype: 'line',
  935. yaxispos: 'left',
  936. color: '#FC4327',
  937. sort: 1,
  938. xRotate: 10,
  939. dataIndex: 'wd1',
  940. },
  941. {
  942. legend: '支路2',
  943. seriesName: '(℃)',
  944. ymax: 20,
  945. yname: '℃',
  946. linetype: 'line',
  947. yaxispos: 'left',
  948. color: '#91CC75',
  949. sort: 1,
  950. xRotate: 10,
  951. dataIndex: 'wd2',
  952. },
  953. ];
  954. export const mockGasPipingWdData = [
  955. {
  956. time: '08:12:00',
  957. wd0: '22.23',
  958. wd1: '18.32',
  959. wd2: '14.23',
  960. },
  961. {
  962. time: '08:12:01',
  963. wd0: '14.23',
  964. wd1: '18.23',
  965. wd2: '16.23',
  966. },
  967. {
  968. time: '08:12:02',
  969. wd0: '18.98',
  970. wd1: '15.23',
  971. wd2: '16.23',
  972. },
  973. {
  974. time: '08:12:03',
  975. wd0: '22.45',
  976. wd1: '15.23',
  977. wd2: '11.23',
  978. },
  979. {
  980. time: '08:12:04',
  981. wd0: '23.87',
  982. wd1: '19.23',
  983. wd2: '15.23',
  984. },
  985. {
  986. time: '08:12:05',
  987. wd0: '25.42',
  988. wd1: '21.23',
  989. wd2: '12.23',
  990. },
  991. ];
  992. // 管道流量
  993. export const gasPipingFlowOption = [
  994. {
  995. legend: '主管道',
  996. seriesName: '(m³/min)',
  997. ymax: 20,
  998. yname: 'm³/min',
  999. linetype: 'line',
  1000. yaxispos: 'left',
  1001. color: '#37BCF2',
  1002. sort: 1,
  1003. xRotate: 10,
  1004. dataIndex: 'flow0',
  1005. },
  1006. {
  1007. legend: '支路1',
  1008. seriesName: '(m³/min)',
  1009. ymax: 20,
  1010. yname: 'm³/min',
  1011. linetype: 'line',
  1012. yaxispos: 'left',
  1013. color: '#FC4327',
  1014. sort: 1,
  1015. xRotate: 10,
  1016. dataIndex: 'flow1',
  1017. },
  1018. {
  1019. legend: '支路2',
  1020. seriesName: '(m³/min)',
  1021. ymax: 20,
  1022. yname: 'm³/min',
  1023. linetype: 'line',
  1024. yaxispos: 'left',
  1025. color: '#91CC75',
  1026. sort: 1,
  1027. xRotate: 10,
  1028. dataIndex: 'flow2',
  1029. },
  1030. ];
  1031. export const mockGasPipingFlowData = [
  1032. {
  1033. time: '08:12:00',
  1034. flow0: '22.23',
  1035. flow1: '18.32',
  1036. flow2: '14.23',
  1037. },
  1038. {
  1039. time: '08:12:01',
  1040. flow0: '14.23',
  1041. flow1: '18.23',
  1042. flow2: '16.23',
  1043. },
  1044. {
  1045. time: '08:12:02',
  1046. flow0: '18.98',
  1047. flow1: '15.23',
  1048. flow2: '16.23',
  1049. },
  1050. {
  1051. time: '08:12:03',
  1052. flow0: '22.45',
  1053. flow1: '15.23',
  1054. flow2: '11.23',
  1055. },
  1056. {
  1057. time: '08:12:04',
  1058. flow0: '23.87',
  1059. flow1: '19.23',
  1060. flow2: '15.23',
  1061. },
  1062. {
  1063. time: '08:12:05',
  1064. flow0: '25.42',
  1065. flow1: '21.23',
  1066. flow2: '12.23',
  1067. },
  1068. ];
  1069. // 管道流量
  1070. export const gasPipingCylOption = [
  1071. {
  1072. legend: '主管道',
  1073. seriesName: '(m³)',
  1074. ymax: 20,
  1075. yname: 'm³',
  1076. linetype: 'line',
  1077. yaxispos: 'left',
  1078. color: '#37BCF2',
  1079. sort: 1,
  1080. xRotate: 10,
  1081. dataIndex: 'flow0',
  1082. },
  1083. {
  1084. legend: '支路1',
  1085. seriesName: '(m³)',
  1086. ymax: 20,
  1087. yname: 'm³',
  1088. linetype: 'line',
  1089. yaxispos: 'left',
  1090. color: '#FC4327',
  1091. sort: 1,
  1092. xRotate: 10,
  1093. dataIndex: 'flow1',
  1094. },
  1095. {
  1096. legend: '支路2',
  1097. seriesName: '(m³)',
  1098. ymax: 20,
  1099. yname: 'm³',
  1100. linetype: 'line',
  1101. yaxispos: 'left',
  1102. color: '#91CC75',
  1103. sort: 1,
  1104. xRotate: 10,
  1105. dataIndex: 'flow2',
  1106. },
  1107. ];
  1108. export const mockGasPipingCylData = [
  1109. {
  1110. time: '08:12:00',
  1111. flow0: '13452',
  1112. flow1: '3452',
  1113. flow2: '9032.23',
  1114. },
  1115. {
  1116. time: '08:12:01',
  1117. flow0: '17452',
  1118. flow1: '3452',
  1119. flow2: '9032.23',
  1120. },
  1121. {
  1122. time: '08:12:02',
  1123. flow0: '14452',
  1124. flow1: '3452',
  1125. flow2: '9032.23',
  1126. },
  1127. {
  1128. time: '08:12:03',
  1129. flow0: '16452',
  1130. flow1: '3452',
  1131. flow2: '9032.23',
  1132. },
  1133. {
  1134. time: '08:12:04',
  1135. flow0: '19452',
  1136. flow1: '3452',
  1137. flow2: '9032.23',
  1138. },
  1139. {
  1140. time: '08:12:05',
  1141. flow0: '20452',
  1142. flow1: '3452',
  1143. flow2: '9032.23',
  1144. },
  1145. ];
  1146. // 管道负压
  1147. export const gasPipingFyOption = [
  1148. {
  1149. legend: '主管道',
  1150. seriesName: '(kPa)',
  1151. ymax: 30,
  1152. yname: 'kPa',
  1153. linetype: 'line',
  1154. yaxispos: 'left',
  1155. color: '#37BCF2',
  1156. sort: 1,
  1157. xRotate: 10,
  1158. dataIndex: 'fy0',
  1159. },
  1160. {
  1161. legend: '支路1',
  1162. seriesName: '(kPa)',
  1163. ymax: 30,
  1164. yname: 'kPa',
  1165. linetype: 'line',
  1166. yaxispos: 'left',
  1167. color: '#FC4327',
  1168. sort: 1,
  1169. xRotate: 10,
  1170. dataIndex: 'fy1',
  1171. },
  1172. {
  1173. legend: '支路2',
  1174. seriesName: '(kPa)',
  1175. ymax: 30,
  1176. yname: 'kPa',
  1177. linetype: 'line',
  1178. yaxispos: 'left',
  1179. color: '#91CC75',
  1180. sort: 1,
  1181. xRotate: 10,
  1182. dataIndex: 'fy2',
  1183. },
  1184. ];
  1185. export const mockGasPipingFyData = [
  1186. {
  1187. time: '08:12:00',
  1188. fy0: '22.23',
  1189. fy1: '18.32',
  1190. fy2: '14.23',
  1191. },
  1192. {
  1193. time: '08:12:01',
  1194. fy0: '14.23',
  1195. fy1: '18.23',
  1196. fy2: '16.23',
  1197. },
  1198. {
  1199. time: '08:12:02',
  1200. fy0: '18.98',
  1201. fy1: '15.23',
  1202. fy2: '16.23',
  1203. },
  1204. {
  1205. time: '08:12:03',
  1206. fy0: '22.45',
  1207. fy1: '15.23',
  1208. fy2: '11.23',
  1209. },
  1210. {
  1211. time: '08:12:04',
  1212. fy0: '23.87',
  1213. fy1: '19.23',
  1214. fy2: '15.23',
  1215. },
  1216. {
  1217. time: '08:12:05',
  1218. fy0: '25.42',
  1219. fy1: '21.23',
  1220. fy2: '12.23',
  1221. },
  1222. ];
  1223. export const unitHeaderBadges = ref([
  1224. {
  1225. value: 'T1',
  1226. desc: '单元瓦斯总储量',
  1227. code: '',
  1228. },
  1229. {
  1230. value: 'T2',
  1231. desc: '单元抽采达标量',
  1232. code: '',
  1233. },
  1234. {
  1235. value: 'T3',
  1236. desc: '单元累计抽采纯量',
  1237. code: '',
  1238. },
  1239. {
  1240. value: 'T4',
  1241. desc: '单元预抽比率',
  1242. code: '',
  1243. },
  1244. ]);
  1245. export const unitBaseInfo = [
  1246. {
  1247. title: '单元名称',
  1248. code: 'T0',
  1249. unit: '',
  1250. },
  1251. {
  1252. title: '煤炭储量',
  1253. code: 'T1',
  1254. unit: 'm³/t',
  1255. },
  1256. {
  1257. title: '瓦斯储量',
  1258. code: 'T2',
  1259. unit: 'm³/t',
  1260. },
  1261. {
  1262. title: '钻孔施工长度',
  1263. code: 'CO2',
  1264. unit: 'm',
  1265. },
  1266. {
  1267. title: '单元瓦斯含量',
  1268. code: 'gasC',
  1269. unit: 'm³/t',
  1270. },
  1271. {
  1272. title: '单元原始瓦斯压力',
  1273. code: 'gasMixMass',
  1274. unit: 'Pa',
  1275. },
  1276. {
  1277. title: '抽采钻孔管径',
  1278. code: 'gasMass',
  1279. unit: 'm',
  1280. },
  1281. {
  1282. title: '抽采单元汇总管径',
  1283. code: 'gasMass',
  1284. unit: 'm',
  1285. },
  1286. ];
  1287. export const unitMonitor = [
  1288. {
  1289. title: '瓦斯总储量',
  1290. code: 'T0',
  1291. unit: 'm³/t',
  1292. },
  1293. {
  1294. title: '抽采达标量',
  1295. code: 'T1',
  1296. unit: 'm³/t',
  1297. },
  1298. {
  1299. title: '累计抽采纯量',
  1300. code: 'T2',
  1301. unit: 'm³/t',
  1302. },
  1303. {
  1304. title: '当前抽采率',
  1305. code: 'CO2',
  1306. unit: '%',
  1307. },
  1308. {
  1309. title: '试试抽采率',
  1310. code: 'gasC',
  1311. unit: '%',
  1312. },
  1313. {
  1314. title: '实时抽采浓度',
  1315. code: 'gasMixMass',
  1316. unit: 'ppm',
  1317. },
  1318. {
  1319. title: '实时抽采负压',
  1320. code: 'gasMass',
  1321. unit: 'Pa',
  1322. },
  1323. {
  1324. title: '参与瓦斯压力',
  1325. code: 'gasMass',
  1326. unit: 'Pa',
  1327. },
  1328. ];