1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360 |
- import { reactive, ref } from 'vue';
- import echarts from '/@/utils/lib/echarts';
- import { ModuleDataChart } from '/@/views/vent/deviceManager/configurationTable/types';
- export const monitorNav = [
- {
- title: '达标评判',
- pathName: 'gasAssessment',
- isShow: true,
- },
- {
- title: '智能调控',
- pathName: 'gasControl',
- isShow: false,
- },
- {
- title: '单元时程曲线',
- pathName: 'gasEcharts',
- isShow: false,
- },
- {
- title: '管道监测',
- pathName: 'gasPiping',
- isShow: false,
- },
- {
- title: '视频监测',
- pathName: 'gasVideo',
- isHover: false,
- },
- // {
- // title: '故障诊断',
- // pathName: 'gasAlarm',
- // isHover: false,
- // },
- ];
- export const echartsOption = reactive({
- tooltip: { trigger: 'axis', axisPointer: { lineStyle: { color: '#fff' } } },
- legend: {
- top: '-5',
- icon: 'rect',
- data: ['进风', '回风'],
- right: '10px',
- textStyle: { fontSize: 12, color: '#fff' },
- },
- grid: { x: 50, y: 50, x2: 12, y2: 40, bottom: '25', top: '10' },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- axisLine: { lineStyle: { color: '#8EAFB9' } },
- axisLabel: { color: '#ffffffcc' },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- data: [],
- },
- yAxis: [
- {
- type: 'value',
- name: 'm³/min',
- axisTick: {
- show: false,
- },
- axisLine: { lineStyle: { show: true, color: '#8EAFB9' } },
- axisLabel: { margin: 10, fontSize: 12, color: '#ffffffcc' },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- },
- ],
- series: [
- {
- name: '进风',
- type: 'line',
- smooth: true,
- lineStyle: { width: 2 },
- yAxisIndex: 0,
- // markLine: {
- // data: [{ yAxis: 0, name: '需风量' }],
- // },
- areaStyle: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(185,150,248,0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(185,150,248,0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- itemStyle: { color: '#B996F8' },
- data: [],
- },
- {
- name: '回风',
- type: 'line',
- smooth: true,
- lineStyle: { width: 2 },
- yAxisIndex: 0,
- // markLine: {
- // data: [{ yAxis: 0, name: '需风量' }],
- // },
- areaStyle: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(3, 194, 236, 0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(3, 194, 236, 0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- itemStyle: { color: '#03C2EC' },
- data: [],
- },
- ],
- });
- export const gasMonitor = [
- {
- title: '工作面编号',
- code: 'T0',
- unit: '',
- },
- {
- title: '所属采区',
- code: 'T1',
- unit: '',
- },
- {
- title: '开采煤层',
- code: 'T2',
- unit: '',
- },
- {
- title: '工作面走向长度',
- code: 'CO2',
- unit: 'm',
- },
- {
- title: '工作面切眼长度',
- code: 'gasC',
- unit: 'm',
- },
- {
- title: '工作面煤炭储量',
- code: 'gasMixMass',
- unit: 'm³/t',
- },
- {
- title: '原始瓦斯储量',
- code: 'gasMass',
- unit: 'm³/t',
- },
- {
- title: '工作面瓦斯含量',
- code: 'gasMass',
- unit: 'm³/t',
- },
- {
- title: '预抽瓦斯标量 (m³)',
- code: 'gasTotalMass',
- unit: '',
- },
- {
- title: '抽采单元数量',
- code: 'windPressure',
- unit: '',
- },
- ];
- export const gasUnitBase = [
- {
- title: '单元名称',
- code: 'T0',
- unit: '',
- },
- {
- title: '煤炭储量',
- code: 'T1',
- unit: '',
- },
- {
- title: '瓦斯储量',
- code: 'T2',
- unit: 'm³/t',
- },
- {
- title: '钻孔施工长度',
- code: 'CO2',
- unit: 'm',
- },
- {
- title: '单元瓦斯含量',
- code: 'gasC',
- unit: 'm³/t',
- },
- {
- title: '单元原始瓦斯压力',
- code: 'gasMixMass',
- unit: 'MPa',
- },
- {
- title: '抽采钻孔管径',
- code: 'gasMass',
- unit: 'm',
- },
- {
- title: '抽采单元汇总管径',
- code: 'gasMass',
- unit: 'm',
- },
- ];
- export const gasUnitMonitor = [
- {
- title: '瓦斯总储量',
- code: 'T0',
- unit: 'm³/t',
- },
- {
- title: '抽采达标量',
- code: 'T1',
- unit: 'm³/t',
- },
- {
- title: '累计抽采纯量',
- code: 'T2',
- unit: 'm³/t',
- },
- {
- title: '当前抽采率',
- code: 'CO2',
- unit: '%',
- },
- {
- title: '实时抽采率',
- code: 'gasC',
- unit: '%',
- },
- {
- title: '实时抽采浓度',
- code: 'gasMixMass',
- unit: '%',
- },
- {
- title: '实时抽采负压',
- code: 'gasMass',
- unit: 'MPa',
- },
- {
- title: '残余瓦斯压力',
- code: 'gasMass',
- unit: 'MPa',
- },
- ];
- export const monitorPosData = [
- {
- title: '负压',
- code: 'T0',
- unit: 'kPa',
- },
- {
- title: 'CH₄浓度',
- code: 'T1',
- unit: '%',
- },
- {
- title: '流量',
- code: 'T2',
- unit: 'm³/min',
- },
- {
- title: '管道温度',
- code: 'CO2',
- unit: '℃',
- },
- {
- title: 'CO浓度',
- code: 'gasC',
- unit: 'ppm',
- },
- ];
- export const monitorValveData = [
- {
- title: '1#阀门',
- code: 'T0',
- unit: '°',
- },
- {
- title: '2#阀门',
- code: 'T1',
- unit: '°',
- },
- {
- title: '3#阀门',
- code: 'T2',
- unit: '°',
- },
- {
- title: '4#阀门',
- code: 'CO2',
- unit: '°',
- },
- {
- title: '5#阀门',
- code: 'gasC',
- unit: '°',
- },
- ];
- export const gasParamData = [
- {
- title: '走向长度 (m)',
- code: 'lenH',
- },
- {
- title: '倾向长度 (m)',
- code: 'lenDip',
- },
- {
- title: '煤层厚度 (m)',
- code: 'thickness',
- },
- {
- title: '煤层倾角 (°)',
- code: 'angleDip',
- },
- {
- title: '吸附常数a (cm³/gdaf)',
- code: 'adsorbA',
- },
- {
- title: '吸附常数b (MPa-l)',
- code: 'adsorbB',
- },
- {
- title: '水分Mad (%)',
- code: 'waterMad',
- },
- {
- title: '灰分Ad (%)',
- code: 'dustAd',
- },
- {
- title: '挥发分Vdaf (%)',
- code: 'volatilizeAd',
- },
- {
- title: '孔隙率 (m³)',
- code: 'poreRate',
- },
- {
- title: '真相对密度',
- code: 'trueDensity',
- },
- {
- title: '视相对密度',
- code: 'apparentDensity',
- },
- ];
- export const currentGasMonitor = [
- {
- title: '原始瓦斯含量 (m³/t)',
- code: 'gasOriginalMass',
- },
- {
- title: '残余瓦斯含量 (m³/t)',
- code: 'gasRemnantMass',
- },
- {
- title: '残存瓦斯含量 (m³/t)',
- code: 'gasSurviveMass',
- },
- {
- title: '瓦斯压力 (MPa)',
- code: 'gasTotalMass',
- },
- {
- title: '煤层厚度 (m)',
- code: 'currentThickness',
- },
- {
- title: '煤层倾角 (°)',
- code: 'currentAngleDip',
- },
- {
- title: '地质构造',
- code: 'geologicStructure',
- },
- ];
- export const gasPumpValve = [
- {
- title: '开抽日期',
- code: 'T0',
- unit: '',
- },
- {
- title: '支管抽采负压',
- code: 'T0',
- unit: '',
- },
- {
- title: '支管抽采流量',
- code: 'T0',
- unit: '',
- },
- {
- title: '抽采管路气体温度',
- code: 'T0',
- unit: '',
- },
- {
- title: '抽采管路甲烷浓度',
- code: 'T0',
- unit: '',
- },
- {
- title: '抽采管路一氧化碳浓度',
- code: 'T0',
- unit: '',
- },
- {
- title: '累计流量',
- code: 'T0',
- unit: '',
- },
- {
- title: '累计纯量',
- code: 'T0',
- unit: '',
- },
- ];
- export const gasUnitDetail = [
- {
- title: '开抽日期',
- code: 'startDay',
- // unit: 'kPa',
- },
- {
- title: '瓦斯储量',
- code: 'CH4 ',
- // unit: '%',
- },
- {
- title: '抽采负压',
- code: 'temperature',
- // unit: '℃',
- },
- {
- title: '抽采流量',
- code: 'flowRate',
- // unit: '万m³',
- },
- {
- title: '气体温度',
- code: 'scalarRate',
- // unit: '万m³',
- },
- {
- title: '甲烷浓度',
- code: 'CH4',
- // unit: '万m³',
- },
- {
- title: '一氧化碳浓度',
- code: 'CO',
- // unit: '万m³',
- },
- {
- title: '累计纯量',
- code: 'unit=Mass',
- },
- ];
- export function getBezierControlPoint(A = { x: 1, y: 1 }, alpha_degrees = 45, d = 10) {
- // 转换角度为弧度
- const alpha_radians = (alpha_degrees * Math.PI) / 180;
- // 计算 C 点的坐标
- const C = {
- x: A.x + d * Math.cos(alpha_radians),
- y: A.y + d * Math.sin(alpha_radians),
- };
- return C;
- }
- export const headerBadges = ref([
- {
- value: 'T1',
- desc: '瓦斯总储量',
- code: '',
- },
- {
- value: 'T2',
- desc: '抽采达标量',
- code: '',
- },
- {
- value: 'T3',
- desc: '累计抽采量',
- code: '',
- },
- {
- value: 'T4',
- desc: '预抽比率',
- code: '',
- },
- {
- value: 'T5',
- desc: '已抽时间',
- code: '',
- },
- ]);
- export const gasUnitBarOption: ModuleDataChart = {
- type: 'bar_cylinder',
- readFrom: '',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '', position: 'left' }],
- series: [
- {
- readFrom: 'arrayDev',
- xprop: 'strinstallpos',
- yprop: 'val',
- label: '',
- },
- ],
- };
- export const mockData = {
- id: 4,
- objType: '氧气',
- arrayDev: [
- {
- strinstallpos: '抽采单元1',
- val: '1.76',
- },
- {
- strinstallpos: '抽采单元2',
- val: '0.08',
- },
- {
- strinstallpos: '抽采单元3',
- val: '0.30',
- },
- {
- strinstallpos: '抽采单元4',
- val: '0.67',
- },
- {
- strinstallpos: '抽采单元5',
- val: '0.67',
- },
- ],
- };
- export const gasUnitPieOption: ModuleDataChart = {
- type: 'pie',
- readFrom: '',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '', position: 'left' }],
- series: [
- {
- readFrom: 'arrayDev',
- xprop: 'strinstallpos',
- yprop: 'val',
- label: '',
- },
- ],
- };
- export const mockPieData = {
- id: 4,
- objType: '氧气',
- arrayDev: [
- {
- strinstallpos: '抽采单元1',
- val: '1.76',
- },
- {
- strinstallpos: '抽采单元2',
- val: '0.08',
- },
- {
- strinstallpos: '抽采单元3',
- val: '0.30',
- },
- {
- strinstallpos: '抽采单元4',
- val: '0.67',
- },
- {
- strinstallpos: '抽采单元5',
- val: '0.67',
- },
- ],
- };
- export const gasUnitHlOption: ModuleDataChart = {
- type: 'line_area',
- readFrom: '',
- legend: { show: false },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '混量(m³/t)', position: 'left' }],
- series: [{ readFrom: 'history', xprop: 'time', yprop: 'val', label: '单元瓦斯混量' }],
- };
- export const mockGasUnitHlData = {
- id: 4,
- objType: '氧气',
- history: [
- {
- time: '2024-12-13',
- val: '113.76',
- },
- {
- time: '2024-12-14',
- val: '153.76',
- },
- {
- time: '2024-12-15',
- val: '163.76',
- },
- {
- time: '2024-12-16',
- val: '193.76',
- },
- {
- time: '2024-12-17',
- val: '203.76',
- },
- {
- time: '2024-12-18',
- val: '223.76',
- },
- ],
- };
- export const gasUnitClOption: ModuleDataChart = {
- type: 'line_area',
- readFrom: '',
- legend: { show: false },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '纯量(m³/t)', position: 'left' }],
- series: [{ readFrom: 'history', xprop: 'time', yprop: 'val', label: '单元瓦斯纯量', color: '#FAC858' }],
- };
- export const mockGasUnitClData = {
- id: 4,
- objType: '氧气',
- history: [
- {
- time: '2024-12-13',
- val: '103.76',
- },
- {
- time: '2024-12-14',
- val: '133.76',
- },
- {
- time: '2024-12-15',
- val: '143.76',
- },
- {
- time: '2024-12-16',
- val: '173.76',
- },
- {
- time: '2024-12-17',
- val: '193.76',
- },
- {
- time: '2024-12-18',
- val: '213.76',
- },
- ],
- };
- export const gasUnitOption = [
- {
- legend: '瓦斯浓度',
- seriesName: '(m³/t)',
- ymax: 10000,
- yname: 'm³/t',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'nd',
- },
- {
- legend: '抽采负压',
- seriesName: '(MPa)',
- ymax: 50,
- yname: 'MPa',
- linetype: 'line',
- yaxispos: 'right',
- color: '#FC4327',
- sort: 2,
- xRotate: 10,
- dataIndex: 'fy',
- },
- {
- legend: '瓦斯流量',
- seriesName: '(%)',
- ymax: 50,
- yname: '%',
- linetype: 'line',
- yaxispos: 'right',
- color: '#91CC75',
- sort: 3,
- xRotate: 10,
- dataIndex: 'flowNum',
- },
- ];
- export const mockGasUnitData = {
- history: [
- {
- time: '08:12:00',
- flowNum: '103.76',
- fy: '786.87',
- nd: '43',
- },
- {
- time: '08:12:01',
- flowNum: '123.76',
- fy: '886.87',
- nd: '43',
- },
- {
- time: '08:12:02',
- flowNum: '153.76',
- fy: '896.87',
- nd: '43',
- },
- {
- time: '08:12:03',
- flowNum: '173.76',
- fy: '1010.87',
- nd: '43',
- },
- {
- time: '08:12:04',
- flowNum: '163.76',
- fy: '900.87',
- nd: '43',
- },
- {
- time: '08:12:05',
- flowNum: '113.76',
- fy: '983.87',
- nd: '43',
- },
- ],
- };
- // 管道甲烷
- export const gasPipingCH4Option = [
- {
- legend: '主管道',
- seriesName: '(%)',
- ymax: 50,
- yname: '%',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CH40',
- },
- {
- legend: '支路1',
- seriesName: '(%)',
- ymax: 50,
- yname: '%',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CH41',
- },
- {
- legend: '支路2',
- seriesName: '(%)',
- ymax: 50,
- yname: '%',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CH42',
- },
- ];
- export const mockGasPipingData = [
- {
- time: '08:12:00',
- CH40: '43',
- CH41: '24.23',
- CH42: '14.23',
- },
- {
- time: '08:12:01',
- CH40: '43',
- CH41: '28.23',
- CH42: '16.23',
- },
- {
- time: '08:12:02',
- CH40: '43',
- CH41: '21.23',
- CH42: '16.23',
- },
- {
- time: '08:12:03',
- CH40: '43',
- CH41: '25.23',
- CH42: '11.23',
- },
- {
- time: '08:12:04',
- CH40: '43',
- CH41: '27.23',
- CH42: '15.23',
- },
- {
- time: '08:12:05',
- CH40: '43',
- CH41: '28.23',
- CH42: '12.23',
- },
- ];
- // 管道一氧化碳
- export const gasPipingCOOption = [
- {
- legend: '主管道',
- seriesName: '(ppm)',
- ymax: 50,
- yname: 'ppm',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CO0',
- },
- {
- legend: '支路1',
- seriesName: '(ppm)',
- ymax: 50,
- yname: 'ppm',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CO1',
- },
- {
- legend: '支路2',
- seriesName: '(ppm)',
- ymax: 50,
- yname: 'ppm',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'CO2',
- },
- ];
- export const mockGasPipingCOData = [
- {
- time: '08:12:00',
- CO0: '43',
- CO1: '24.23',
- CO2: '14.23',
- },
- {
- time: '08:12:01',
- CO0: '21.98',
- CO1: '18.23',
- CO2: '16.23',
- },
- {
- time: '08:12:02',
- CO0: '23.89',
- CO1: '21.23',
- CO2: '16.23',
- },
- {
- time: '08:12:03',
- CO0: '20.23',
- CO1: '15.23',
- CO2: '11.23',
- },
- {
- time: '08:12:04',
- CO0: '24.75',
- CO1: '17.23',
- CO2: '15.23',
- },
- {
- time: '08:12:05',
- CO0: '23.45',
- CO1: '18.23',
- CO2: '12.23',
- },
- ];
- // 管道温度
- export const gasPipingWdOption = [
- {
- legend: '主管道',
- seriesName: '(℃)',
- ymax: 20,
- yname: '℃',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'wd0',
- },
- {
- legend: '支路1',
- seriesName: '(℃)',
- ymax: 20,
- yname: '℃',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'wd1',
- },
- {
- legend: '支路2',
- seriesName: '(℃)',
- ymax: 20,
- yname: '℃',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'wd2',
- },
- ];
- export const mockGasPipingWdData = [
- {
- time: '08:12:00',
- wd0: '22.23',
- wd1: '18.32',
- wd2: '14.23',
- },
- {
- time: '08:12:01',
- wd0: '14.23',
- wd1: '18.23',
- wd2: '16.23',
- },
- {
- time: '08:12:02',
- wd0: '18.98',
- wd1: '15.23',
- wd2: '16.23',
- },
- {
- time: '08:12:03',
- wd0: '22.45',
- wd1: '15.23',
- wd2: '11.23',
- },
- {
- time: '08:12:04',
- wd0: '23.87',
- wd1: '19.23',
- wd2: '15.23',
- },
- {
- time: '08:12:05',
- wd0: '25.42',
- wd1: '21.23',
- wd2: '12.23',
- },
- ];
- // 管道流量
- export const gasPipingFlowOption = [
- {
- legend: '主管道',
- seriesName: '(m³/min)',
- ymax: 20,
- yname: 'm³/min',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow0',
- },
- {
- legend: '支路1',
- seriesName: '(m³/min)',
- ymax: 20,
- yname: 'm³/min',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow1',
- },
- {
- legend: '支路2',
- seriesName: '(m³/min)',
- ymax: 20,
- yname: 'm³/min',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow2',
- },
- ];
- export const mockGasPipingFlowData = [
- {
- time: '08:12:00',
- flow0: '22.23',
- flow1: '18.32',
- flow2: '14.23',
- },
- {
- time: '08:12:01',
- flow0: '14.23',
- flow1: '18.23',
- flow2: '16.23',
- },
- {
- time: '08:12:02',
- flow0: '18.98',
- flow1: '15.23',
- flow2: '16.23',
- },
- {
- time: '08:12:03',
- flow0: '22.45',
- flow1: '15.23',
- flow2: '11.23',
- },
- {
- time: '08:12:04',
- flow0: '23.87',
- flow1: '19.23',
- flow2: '15.23',
- },
- {
- time: '08:12:05',
- flow0: '25.42',
- flow1: '21.23',
- flow2: '12.23',
- },
- ];
- // 管道流量
- export const gasPipingCylOption = [
- {
- legend: '主管道',
- seriesName: '(m³)',
- ymax: 20,
- yname: 'm³',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow0',
- },
- {
- legend: '支路1',
- seriesName: '(m³)',
- ymax: 20,
- yname: 'm³',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow1',
- },
- {
- legend: '支路2',
- seriesName: '(m³)',
- ymax: 20,
- yname: 'm³',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'flow2',
- },
- ];
- export const mockGasPipingCylData = [
- {
- time: '08:12:00',
- flow0: '13452',
- flow1: '3452',
- flow2: '9032.23',
- },
- {
- time: '08:12:01',
- flow0: '17452',
- flow1: '3452',
- flow2: '9032.23',
- },
- {
- time: '08:12:02',
- flow0: '14452',
- flow1: '3452',
- flow2: '9032.23',
- },
- {
- time: '08:12:03',
- flow0: '16452',
- flow1: '3452',
- flow2: '9032.23',
- },
- {
- time: '08:12:04',
- flow0: '19452',
- flow1: '3452',
- flow2: '9032.23',
- },
- {
- time: '08:12:05',
- flow0: '20452',
- flow1: '3452',
- flow2: '9032.23',
- },
- ];
- // 管道负压
- export const gasPipingFyOption = [
- {
- legend: '主管道',
- seriesName: '(kPa)',
- ymax: 30,
- yname: 'kPa',
- linetype: 'line',
- yaxispos: 'left',
- color: '#37BCF2',
- sort: 1,
- xRotate: 10,
- dataIndex: 'fy0',
- },
- {
- legend: '支路1',
- seriesName: '(kPa)',
- ymax: 30,
- yname: 'kPa',
- linetype: 'line',
- yaxispos: 'left',
- color: '#FC4327',
- sort: 1,
- xRotate: 10,
- dataIndex: 'fy1',
- },
- {
- legend: '支路2',
- seriesName: '(kPa)',
- ymax: 30,
- yname: 'kPa',
- linetype: 'line',
- yaxispos: 'left',
- color: '#91CC75',
- sort: 1,
- xRotate: 10,
- dataIndex: 'fy2',
- },
- ];
- export const mockGasPipingFyData = [
- {
- time: '08:12:00',
- fy0: '22.23',
- fy1: '18.32',
- fy2: '14.23',
- },
- {
- time: '08:12:01',
- fy0: '14.23',
- fy1: '18.23',
- fy2: '16.23',
- },
- {
- time: '08:12:02',
- fy0: '18.98',
- fy1: '15.23',
- fy2: '16.23',
- },
- {
- time: '08:12:03',
- fy0: '22.45',
- fy1: '15.23',
- fy2: '11.23',
- },
- {
- time: '08:12:04',
- fy0: '23.87',
- fy1: '19.23',
- fy2: '15.23',
- },
- {
- time: '08:12:05',
- fy0: '25.42',
- fy1: '21.23',
- fy2: '12.23',
- },
- ];
- export const unitHeaderBadges = ref([
- {
- value: 'T1',
- desc: '单元瓦斯总储量',
- code: '',
- },
- {
- value: 'T2',
- desc: '单元抽采达标量',
- code: '',
- },
- {
- value: 'T3',
- desc: '单元累计抽采纯量',
- code: '',
- },
- {
- value: 'T4',
- desc: '单元预抽比率',
- code: '',
- },
- ]);
- export const unitBaseInfo = [
- {
- title: '单元名称',
- code: 'T0',
- unit: '',
- },
- {
- title: '煤炭储量',
- code: 'T1',
- unit: 'm³/t',
- },
- {
- title: '瓦斯储量',
- code: 'T2',
- unit: 'm³/t',
- },
- {
- title: '钻孔施工长度',
- code: 'CO2',
- unit: 'm',
- },
- {
- title: '单元瓦斯含量',
- code: 'gasC',
- unit: 'm³/t',
- },
- {
- title: '单元原始瓦斯压力',
- code: 'gasMixMass',
- unit: 'Pa',
- },
- {
- title: '抽采钻孔管径',
- code: 'gasMass',
- unit: 'm',
- },
- {
- title: '抽采单元汇总管径',
- code: 'gasMass',
- unit: 'm',
- },
- ];
- export const unitMonitor = [
- {
- title: '瓦斯总储量',
- code: 'T0',
- unit: 'm³/t',
- },
- {
- title: '抽采达标量',
- code: 'T1',
- unit: 'm³/t',
- },
- {
- title: '累计抽采纯量',
- code: 'T2',
- unit: 'm³/t',
- },
- {
- title: '当前抽采率',
- code: 'CO2',
- unit: '%',
- },
- {
- title: '试试抽采率',
- code: 'gasC',
- unit: '%',
- },
- {
- title: '实时抽采浓度',
- code: 'gasMixMass',
- unit: 'ppm',
- },
- {
- title: '实时抽采负压',
- code: 'gasMass',
- unit: 'Pa',
- },
- {
- title: '参与瓦斯压力',
- code: 'gasMass',
- unit: 'Pa',
- },
- ];
|