|
@@ -1,9 +1,10 @@
|
|
|
import { Config } from '../../deviceManager/configurationTable/types';
|
|
|
+import FanLocalVedio from '@/assets/vedio/fanLocal.mp4?url';
|
|
|
|
|
|
export const testConfigBuErTai: Config[] = [
|
|
|
{
|
|
|
- deviceType: 'fanlocal',
|
|
|
- moduleName: 'fanlocal-左上',
|
|
|
+ deviceType: 'fanmain',
|
|
|
+ moduleName: '主通风机系统',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -14,13 +15,13 @@ export const testConfigBuErTai: Config[] = [
|
|
|
value: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- value: '${strinstallpos}',
|
|
|
+ value: '运行风机:${current}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
|
show: true,
|
|
|
type: 'video',
|
|
|
- link: '/src/assets/vedio/fanLocal.mp4',
|
|
|
+ link: '/video/mainFan.mp4',
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
@@ -30,16 +31,20 @@ export const testConfigBuErTai: Config[] = [
|
|
|
board: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
- readFrom: '',
|
|
|
+ readFrom: 'readData',
|
|
|
layout: 'val-top',
|
|
|
items: [
|
|
|
{
|
|
|
- value: '${readData.windSpeed1}',
|
|
|
- label: '风速1',
|
|
|
+ label: '风量(m³/min)',
|
|
|
+ value: '${m3}',
|
|
|
},
|
|
|
{
|
|
|
- label: '风速2',
|
|
|
- value: '${readData.windSpeed2}',
|
|
|
+ label: '负压(Pa)',
|
|
|
+ value: '${FanFreqHz}',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '频率(Hz)',
|
|
|
+ value: '${DataPa}',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -59,8 +64,8 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'fanmain',
|
|
|
- moduleName: 'fanmain-左中',
|
|
|
+ deviceType: 'fanlocal',
|
|
|
+ moduleName: '局部通风机系统',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -71,13 +76,13 @@ export const testConfigBuErTai: Config[] = [
|
|
|
value: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- value: '${strinstallpos}',
|
|
|
+ value: '运行风机:${current}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
|
show: true,
|
|
|
type: 'video',
|
|
|
- link: '/src/assets/vedio/fanLocal.mp4',
|
|
|
+ link: '/video/fanLocal.mp4',
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
@@ -87,16 +92,20 @@ export const testConfigBuErTai: Config[] = [
|
|
|
board: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
- readFrom: '',
|
|
|
+ readFrom: 'readData',
|
|
|
layout: 'val-top',
|
|
|
items: [
|
|
|
{
|
|
|
- value: '${readData.windSpeed1}',
|
|
|
- label: '风速1',
|
|
|
+ label: '吸风量(m³/min)',
|
|
|
+ value: '${windQuantity1}',
|
|
|
},
|
|
|
{
|
|
|
- label: '风速2',
|
|
|
- value: '${readData.windSpeed2}',
|
|
|
+ label: '供风量(m³/min)',
|
|
|
+ value: '${windQuantity2}',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '频率(Hz)',
|
|
|
+ value: '${FanfHz}',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -116,8 +125,8 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'unknown',
|
|
|
- moduleName: 'unknown-左下',
|
|
|
+ deviceType: '',
|
|
|
+ moduleName: '通风设施远程控制',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -134,7 +143,7 @@ export const testConfigBuErTai: Config[] = [
|
|
|
background: {
|
|
|
show: true,
|
|
|
type: 'video',
|
|
|
- link: '/src/assets/vedio/fanLocal.mp4',
|
|
|
+ link: '/video/gate.mp4',
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
@@ -157,8 +166,8 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'midinfo',
|
|
|
- moduleName: 'midinfo-中间',
|
|
|
+ deviceType: '',
|
|
|
+ moduleName: '风量监测',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -192,16 +201,16 @@ export const testConfigBuErTai: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'bar',
|
|
|
- readFrom: 'sysdata',
|
|
|
+ readFrom: '',
|
|
|
legend: { show: true },
|
|
|
xAxis: [{ show: true }],
|
|
|
yAxis: [
|
|
|
- { show: true, name: '风量', position: 'left' },
|
|
|
- { show: true, name: '风速', position: 'right' },
|
|
|
+ { show: true, name: '风量(m³/min)', position: 'left' },
|
|
|
+ { show: true, name: '风速(m/s)', position: 'right' },
|
|
|
],
|
|
|
series: [
|
|
|
- { readFrom: 'historydata', xprop: 'm3', yprop: 'm3', label: '风量' },
|
|
|
- { readFrom: 'historydata', xprop: 'spd', yprop: 'spd', label: '风速' },
|
|
|
+ { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.m3', label: '风量' },
|
|
|
+ { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.incipientWindSpeed1', label: '风速' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
@@ -213,19 +222,19 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'sys_wind',
|
|
|
- moduleName: 'blast_delta-右上预设类',
|
|
|
+ deviceType: 'sys_majorpath',
|
|
|
+ moduleName: '关键通风路线',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
- show: false,
|
|
|
+ show: true,
|
|
|
showSelector: true,
|
|
|
showSlot: false,
|
|
|
selector: {
|
|
|
- value: '${strinstallpos}',
|
|
|
+ value: '${devicePos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- value: '${strinstallpos}',
|
|
|
+ value: '${devicePos}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
@@ -235,26 +244,26 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
|
- basis: ['70%', '30%'],
|
|
|
+ basis: ['60%', '40%'],
|
|
|
},
|
|
|
layout: ['chart', 'board'],
|
|
|
board: [
|
|
|
{
|
|
|
type: 'D',
|
|
|
- readFrom: 'sys_wind[0]',
|
|
|
+ readFrom: 'majorpath',
|
|
|
layout: 'label-top',
|
|
|
items: [
|
|
|
{
|
|
|
- label: '面积',
|
|
|
- value: '${fsectarea}',
|
|
|
+ label: '矿井风量',
|
|
|
+ value: '${m3_total}',
|
|
|
},
|
|
|
{
|
|
|
- label: '分站名称',
|
|
|
- value: '${stationname}',
|
|
|
+ label: '矿井阻力',
|
|
|
+ value: '${drag_total}',
|
|
|
},
|
|
|
{
|
|
|
- label: '分站类别',
|
|
|
- value: '${stationtype}',
|
|
|
+ label: '等积孔',
|
|
|
+ value: '6.12',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -265,18 +274,12 @@ export const testConfigBuErTai: Config[] = [
|
|
|
table: [],
|
|
|
chart: [
|
|
|
{
|
|
|
- type: 'bar',
|
|
|
- readFrom: 'sysdata',
|
|
|
- legend: { show: true },
|
|
|
- xAxis: [{ show: true }],
|
|
|
- yAxis: [
|
|
|
- { show: true, name: '风量', position: 'left' },
|
|
|
- { show: true, name: '风速', position: 'right' },
|
|
|
- ],
|
|
|
- series: [
|
|
|
- { readFrom: 'historydata', xprop: 'm3', yprop: 'm3', label: '风量' },
|
|
|
- { readFrom: 'historydata', xprop: 'spd', yprop: 'spd', label: '风速' },
|
|
|
- ],
|
|
|
+ type: 'pie',
|
|
|
+ readFrom: '',
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: false }],
|
|
|
+ yAxis: [{ show: false, name: '风量', position: 'left' }],
|
|
|
+ series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'val', label: '-' }],
|
|
|
},
|
|
|
],
|
|
|
gallery_list: [],
|
|
@@ -289,14 +292,14 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'sys_majorpath',
|
|
|
- moduleName: 'unknown-右中',
|
|
|
+ deviceType: 'sys_surface_caimei',
|
|
|
+ moduleName: '工作面智能监控',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
- show: false,
|
|
|
+ show: true,
|
|
|
showSelector: true,
|
|
|
- showSlot: true,
|
|
|
+ showSlot: false,
|
|
|
selector: {
|
|
|
value: '${devicePos}',
|
|
|
},
|
|
@@ -311,10 +314,30 @@ export const testConfigBuErTai: Config[] = [
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
|
- basis: ['100%'],
|
|
|
+ basis: ['65%', '35%'],
|
|
|
},
|
|
|
- layout: ['chart'],
|
|
|
- board: [],
|
|
|
+ layout: ['chart', 'board'],
|
|
|
+ board: [
|
|
|
+ {
|
|
|
+ type: 'B',
|
|
|
+ readFrom: '',
|
|
|
+ layout: 'label-top',
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ label: '进风',
|
|
|
+ value: '${jin}',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '回风',
|
|
|
+ value: '${hui}',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '需风量',
|
|
|
+ value: '${xufengliang}',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
list: [],
|
|
|
preset: [],
|
|
|
table: [],
|
|
@@ -322,13 +345,13 @@ export const testConfigBuErTai: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'line',
|
|
|
- readFrom: 'sysdata',
|
|
|
+ readFrom: '',
|
|
|
legend: { show: true },
|
|
|
xAxis: [{ show: true }],
|
|
|
- yAxis: [{ show: true, name: '风量', position: 'left' }],
|
|
|
+ yAxis: [{ show: true, name: '风量(m³/min)', position: 'left' }],
|
|
|
series: [
|
|
|
- { readFrom: 'historydata', xprop: 'm3', yprop: 'jin', label: '进风' },
|
|
|
- { readFrom: 'historydata', xprop: 'spd', yprop: 'hui', label: '回风' },
|
|
|
+ { readFrom: 'history', xprop: 'time', yprop: 'jin', label: '进风' },
|
|
|
+ { readFrom: 'history', xprop: 'time', yprop: 'hui', label: '回风' },
|
|
|
],
|
|
|
},
|
|
|
],
|