123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994 |
- import { Config } from '../../deviceManager/configurationTable/types';
- // 王庄
- export const testConfigWZFire: Config[] = [
- {
- deviceType: '',
- moduleName: '重点区域风险监测',
- pageType: '',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'board',
- basis: '50%',
- },
- {
- name: 'complex_list',
- basis: '50%',
- },
- ],
- },
- board: [
- {
- type: 'A',
- readFrom: 'fireManageInfo',
- layout: 'label-top',
- items: [
- {
- label: '内因风险等级',
- value: '${nyWarnLevel}',
- },
- {
- label: '外因风险等级',
- value: '${wyWarnLevel}',
- },
- ],
- },
- ],
- chart: [],
- gallery: [],
- gallery_list: [],
- table: [],
- list: [],
- complex_list: [
- {
- type: 'D',
- readFrom: 'fireManageInfo.sysList',
- mapFromData: true,
- items: [
- {
- title: '${sysNamme}',
- contents: [
- {
- label: '风险监测',
- value: '${warnLevel}',
- color: 'blue',
- info: '',
- },
- {
- label: '最高温度',
- value: '${maxVal}',
- color: 'blue',
- info: '',
- },
- ],
- },
- ],
- },
- ],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:450px;height:310px;',
- version: '保德',
- position: 'top:170px;left:0;',
- },
- },
- {
- deviceType: 'pdArray',
- moduleName: '带式输送机防灭火监控系统',
- pageType: '',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: true,
- value: '${systemname}',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'board',
- basis: '30%',
- },
- {
- name: 'chart',
- basis: '70%',
- overflow: false,
- },
- ],
- },
- board: [
- {
- type: 'F',
- layout: 'val-top',
- readFrom: 'arrayCount',
- items: [
- {
- label: '最高温度',
- value: '${[0].val}℃',
- },
- {
- label: '一氧化碳预警',
- value: '无',
- },
- {
- label: '烟雾预警',
- value: '${[2].val}',
- },
- ],
- },
- ],
- chart: [
- {
- type: 'line_smooth',
- readFrom: 'arrayFiber',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
- series: [
- {
- label: '${strinstallpos}',
- readFrom: 'fibreTemperatureArr',
- xprop: 'pos',
- yprop: 'value',
- },
- ],
- },
- ],
- gallery: [],
- gallery_list: [],
- table: [],
- list: [],
- complex_list: [],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:450px;height:430px;',
- version: '保德',
- position: 'top:490px;left:0;',
- },
- },
- {
- deviceType: 'sgGxObj',
- moduleName: '工作面光纤监测',
- pageType: '',
- moduleData: {
- header: {
- show: true,
- readFrom: 'devGxcw',
- selector: {
- show: true,
- value: '${strinstallpos}',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'chart',
- basis: '100%',
- },
- ],
- },
- board: [],
- chart: [
- {
- type: 'line_smooth',
- readFrom: '',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
- series: [
- {
- label: '${strinstallpos}',
- readFrom: 'fibreTemperatureArr',
- xprop: 'pos',
- yprop: 'value',
- },
- ],
- },
- ],
- gallery: [],
- gallery_list: [],
- table: [],
- list: [],
- complex_list: [],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:1000px;height:300px;',
- version: '保德',
- position: 'top:620px;left:460px',
- },
- },
- {
- deviceType: 'sensorArray',
- moduleName: '传感器监测',
- pageType: '',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'table',
- basis: '100%',
- },
- ],
- },
- board: [],
- chart: [],
- gallery: [],
- gallery_list: [],
- table: [
- {
- type: 'C',
- readFrom: 'sensorArray',
- columns: [
- {
- name: '测点位置',
- prop: 'strinstallpos',
- },
- {
- name: '值',
- prop: 'value',
- },
- {
- name: '类型',
- prop: 'strname',
- },
- // {
- // name: '时间',
- // prop: 'time',
- // },
- ],
- },
- ],
- list: [],
- complex_list: [],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:450px;height:230px;',
- version: '保德',
- position: 'top:170px;right:0;',
- },
- },
- {
- deviceType: 'dsArray',
- moduleName: '变电硐室防灭火监控系统',
- pageType: '',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: true,
- value: '${systemname}',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'list',
- basis: '100%',
- },
- ],
- },
- board: [],
- chart: [],
- // chart: [
- // {
- // type: 'line_bar',
- // readFrom: 'dsArray',
- // xAxis: [
- // {
- // label: 'null',
- // },
- // ],
- // yAxis: [
- // {
- // label: 'A',
- // align: 'left',
- // },
- // {
- // label: 'A',
- // align: 'left',
- // },
- // ],
- // series: [
- // {
- // label: 'A',
- // prop: 'top',
- // },
- // {
- // label: 'B',
- // prop: 'bot',
- // },
- // ],
- // },
- // ],
- gallery: [],
- gallery_list: [],
- table: [],
- list: [
- {
- type: 'F',
- readFrom: 'arrayCount',
- items: [
- {
- label: '光纤预警',
- info: '最高温度',
- value: '${[0].val}℃',
- color: 'blue',
- },
- {
- label: '一氧化碳预警',
- info: '最高浓度',
- value: '${[1].val}ppm',
- color: 'blue',
- },
- {
- label: '烟雾预警',
- info: '最高浓度',
- value: '${[2].val}',
- color: 'blue',
- },
- ],
- },
- ],
- complex_list: [],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:450px;height:240px;',
- version: '保德',
- position: 'top:410px;right:0;',
- },
- },
- {
- deviceType: 'aqjkArray',
- moduleName: '安全监控系统',
- pageType: '',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'table',
- basis: '100%',
- },
- ],
- },
- board: [],
- chart: [],
- gallery: [],
- gallery_list: [],
- table: [
- {
- type: 'C',
- readFrom: 'aqjkArray',
- columns: [
- {
- name: '测点位置',
- prop: 'strinstallpos',
- },
- {
- name: '温度',
- prop: 'nowVal',
- },
- {
- name: '预警级别',
- prop: 'warnLevel',
- },
- // {
- // name: '时间',
- // prop: 'time',
- // },
- ],
- },
- ],
- list: [],
- complex_list: [],
- preset: [],
- // mock: WZfireMock,
- },
- showStyle: {
- size: 'width:450px;height:260px;',
- version: '保德',
- position: 'top:660px;right:0;',
- },
- },
- ];
- export const testConfigSY: Config[] = [
- {
- deviceType: 'fanmain',
- moduleName: '主通风机系统',
- pageType: 'vent',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: true,
- value: '${strinstallpos}',
- },
- slot: {
- show: true,
- value: '运行风机:${readData.Fan1StartStatus}',
- trans: {
- '1': '一号',
- '0': '二号',
- },
- },
- },
- background: {
- show: true,
- type: 'video',
- link: '/video/mainFan.mp4',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'board',
- basis: '40%',
- },
- ],
- },
- board: [
- {
- type: 'A',
- readFrom: 'readData',
- layout: 'val-top',
- items: [
- {
- label: '风量(m³/min)',
- value: '${Fan1StartStatus}',
- trans: {
- '1': '${Fan1m3}',
- '0': '${Fan2m3}',
- },
- },
- {
- label: '负压(Pa)',
- value: '${Fan1StartStatus}',
- trans: {
- '1': '${Fan1FreqHz}',
- '0': '${Fan1FreqHz}',
- },
- },
- ],
- },
- ],
- list: [],
- chart: [],
- table: [],
- gallery: [],
- complex_list: [],
- gallery_list: [],
- preset: [],
- },
- showStyle: {
- size: 'width:470px;height:280px;',
- version: '普通版',
- position: 'top:60px;left:0;',
- },
- },
- {
- deviceType: 'fanlocal',
- moduleName: '局部通风机系统',
- pageType: 'vent',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: true,
- value: '${strinstallpos}',
- },
- slot: {
- show: true,
- value: '运行风机:${readData.Fan1StartStatus}',
- trans: {
- '1': '一号',
- '0': '二号',
- },
- },
- },
- background: {
- show: true,
- type: 'video',
- link: '/video/fanLocal.mp4',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'board',
- basis: '40%',
- },
- ],
- },
- board: [
- {
- type: 'A',
- readFrom: 'readData',
- layout: 'val-top',
- items: [
- {
- label: '吸风量(m³/min)',
- value: '${windQuantity1}',
- },
- {
- label: '回风量(m³/min)',
- value: '${windQuantity2}',
- },
- ],
- },
- ],
- list: [],
- chart: [],
- table: [],
- gallery: [],
- complex_list: [],
- gallery_list: [],
- preset: [],
- },
- showStyle: {
- size: 'width:450px;height:280px;',
- version: '新版',
- position: 'top:350px;left:0;',
- },
- },
- {
- deviceType: '',
- moduleName: '通风设施远程控制',
- pageType: 'vent',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'image',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'device_alarm',
- basis: '100%',
- },
- ],
- },
- board: [],
- list: [],
- chart: [],
- table: [],
- gallery: [],
- complex_list: [],
- gallery_list: [],
- preset: [
- {
- readFrom: 'device',
- },
- ],
- to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=gate_xinJianFuXieJin',
- },
- showStyle: {
- size: 'width:470px;height:280px;',
- version: '普通版',
- position: 'top:640px;left:0;',
- },
- },
- {
- deviceType: 'sys_wind',
- moduleName: '风量监测',
- pageType: 'vent',
- moduleData: {
- header: {
- show: false,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'chart',
- basis: '100%',
- },
- ],
- },
- board: [],
- list: [],
- table: [],
- preset: [],
- gallery: [],
- complex_list: [],
- gallery_list: [],
- chart: [
- {
- type: 'bar',
- readFrom: '',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [
- { show: true, name: '风量(m³/min)', position: 'left' },
- { show: true, name: '风速(m/s)', position: 'right' },
- ],
- series: [
- { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.m3', label: '风量' },
- { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.va', label: '风速' },
- ],
- },
- ],
- to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=windrect',
- },
- showStyle: {
- size: 'width:1000px;height:280px;',
- version: '普通版',
- position: 'top:640px;left:460px;',
- },
- },
- {
- deviceType: 'sys_majorpath',
- moduleName: '关键通风路线',
- pageType: 'vent',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: true,
- value: '${devicePos}',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'chart',
- basis: '67%',
- },
- {
- name: 'board',
- basis: '33%',
- },
- ],
- },
- board: [
- {
- type: 'D',
- readFrom: 'majorpath',
- layout: 'label-top',
- items: [
- {
- label: '风量(m³/min)',
- value: '${m3_total}',
- },
- {
- label: '矿井阻力(Pa)',
- value: '${drag_total}',
- },
- {
- label: '等积孔',
- value: '6.12',
- },
- ],
- },
- ],
- complex_list: [],
- gallery: [],
- list: [],
- table: [],
- chart: [
- {
- type: 'pie_drag',
- readFrom: '',
- legend: { show: false },
- xAxis: [{ show: false }],
- yAxis: [{ show: false, name: '风量', position: 'left' }],
- series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'val', label: '-' }],
- },
- ],
- gallery_list: [],
- preset: [],
- to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_majorpath',
- },
- showStyle: {
- size: 'width:470px;height:280px;',
- version: '普通版',
- position: 'top:60px;right:0;',
- },
- },
- {
- deviceType: 'sys_surface_caimei',
- moduleName: '工作面智能监控',
- pageType: 'vent',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: true,
- value: '${devicePos}',
- },
- slot: {
- show: false,
- value: '',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'column',
- items: [
- {
- name: 'chart',
- basis: '65%',
- },
- {
- name: 'board',
- basis: '35%',
- },
- ],
- },
- board: [
- {
- type: 'B',
- readFrom: '',
- layout: 'label-top',
- items: [
- {
- label: '进风(m³/min)',
- value: '${jin}',
- },
- {
- label: '回风(m³/min)',
- value: '${hui}',
- },
- // {
- // label: '需风量(m³/min)',
- // value: '${xufengliang}',
- // },
- ],
- },
- ],
- list: [],
- preset: [],
- table: [],
- gallery: [],
- chart: [
- {
- type: 'line',
- readFrom: '',
- legend: { show: true },
- xAxis: [{ show: true }],
- yAxis: [{ show: true, name: '风量(m³/min)', position: 'left' }],
- series: [
- { readFrom: 'history', xprop: 'time', yprop: 'jin', label: '进风' },
- { readFrom: 'history', xprop: 'time', yprop: 'hui', label: '回风' },
- ],
- },
- ],
- gallery_list: [],
- complex_list: [],
- to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_surface_caimei&deviceid=${deviceID}',
- },
- showStyle: {
- size: 'width:470px;height:280px;',
- version: '普通版',
- position: 'top:350px;right:0;',
- },
- },
- {
- deviceType: 'warn',
- moduleName: '预警监测',
- pageType: 'vent',
- moduleData: {
- header: {
- show: true,
- readFrom: '',
- selector: {
- show: false,
- value: '',
- },
- slot: {
- show: true,
- value: '网络异常:${warn[0].netstatus.val}',
- },
- },
- background: {
- show: false,
- type: 'video',
- link: '',
- },
- layout: {
- direction: 'row',
- items: [
- {
- name: 'list',
- basis: '100%',
- },
- ],
- },
- board: [],
- list: [
- {
- type: 'timeline',
- readFrom: 'warn[0]',
- items: [
- {
- label: '报警',
- value: '${alarm.val}',
- info: '',
- color: 'red',
- },
- {
- label: '重大风险预警',
- value: '${red.val}',
- info: '',
- color: 'red',
- },
- {
- label: '较大风险预警',
- value: '${orange.val}',
- info: '',
- color: 'orange',
- },
- {
- label: '一般风险预警',
- value: '${yellow.val}',
- info: '',
- color: 'yellow',
- },
- {
- label: '低风险预警',
- value: '${blue.val}',
- info: '',
- color: 'blue',
- },
- ],
- },
- ],
- preset: [],
- table: [],
- gallery: [],
- chart: [],
- gallery_list: [],
- complex_list: [],
- to: '/monitorChannel/monitor-alarm-home',
- },
- showStyle: {
- size: 'width:470px;height:280px;',
- version: '普通版',
- position: 'top:640px;right:0;',
- },
- },
- ];
|