gasAssessment.data.ts 23 KB

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