import { Config } from '../../deviceManager/configurationTable/types'; export const nitrogenConfigs: 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: 'row', items: [ { name: 'complex_list', basis: '100%', overflow: false, }, ], }, complex_list: [ { type: 'I', readFrom: '', items: [ { title: '机组参数', contents: [ { label: '累计流量(m³)', value: '${nitrogen_auto[0].readData.cumulativeFlow}', color: 'blue', }, { label: '加热器中心温度(℃)', value: '${nitrogen_auto[0].readData.centerTemperature}', color: 'blue', }, { label: '加热器出口温度(℃)', value: '${nitrogen_auto[0].readData.outletTemperature}', color: 'blue', }, ], }, { title: '电机数据', contents: [ { label: 'A相电流(A)', value: '${nitrogen_auto[0].readData.Ia}', color: 'blue', }, { label: 'B相电流(A)', value: '${nitrogen_auto[0].readData.Ib}', color: 'blue', }, { label: 'C相电流(A)', value: '${nitrogen_auto[0].readData.Ic}', color: 'blue', }, { label: 'AB项间电压(V)', value: '${nitrogen_auto[0].readData.Vab}', color: 'blue', }, { label: 'BC项间电压(V)', value: '${nitrogen_auto[0].readData.Vbc}', color: 'blue', }, { label: 'AC项间电压(V)', value: '${nitrogen_auto[0].readData.Vac}', color: 'blue', }, ], }, ], }, ], }, showStyle: { size: 'width:440px;height:390px;', version: '保德', position: 'top:40px;left:10px;', }, }, { deviceType: '', 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: 'complex_list', basis: '100%', overflow: false, }, ], }, complex_list: [ { type: 'I', readFrom: '', items: [ { title: '机组参数', contents: [ { label: '累计流量(m³)', value: '${nitrogen_auto[0].readData.cumulativeFlow}', color: 'blue', }, { label: '加热器中心温度(℃)', value: '${nitrogen_auto[0].readData.centerTemperature}', color: 'blue', }, { label: '加热器出口温度(℃)', value: '${nitrogen_auto[0].readData.outletTemperature}', color: 'blue', }, ], }, { title: '电机数据', contents: [ { label: 'A相电流(A)', value: '${nitrogen_auto[0].readData.Ia}', color: 'blue', }, { label: 'B相电流(A)', value: '${nitrogen_auto[0].readData.Ib}', color: 'blue', }, { label: 'C相电流(A)', value: '${nitrogen_auto[0].readData.Ic}', color: 'blue', }, { label: 'AB项间电压(V)', value: '${nitrogen_auto[0].readData.Vab}', color: 'blue', }, { label: 'BC项间电压(V)', value: '${nitrogen_auto[0].readData.Vbc}', color: 'blue', }, { label: 'AC项间电压(V)', value: '${nitrogen_auto[0].readData.Vac}', color: 'blue', }, ], }, ], }, ], preset: [], }, showStyle: { size: 'width:440px;height:390px;', version: '保德', position: 'top:440px;left:10px;', }, }, { 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: 'nitrogenBtnList', basis: 'auto', overflow: false, }, ], }, table: [], board: [], chart: [], gallery: [], gallery_list: [], list: [], complex_list: [], preset: [ { readFrom: '', type: 'A', buttonList: [ { label: '制氮机1', value: 'isRunning', content: '' }, { label: '制氮机2', value: 'isRunning', content: '' }, { label: '制氮机3', value: 'isRunning', content: '' }, { label: '制氮机4', value: 'isRunning', content: '' }, { label: '1号空压机', value: 'isRunning', content: '' }, { label: '2号空压机', value: 'isRunning', content: '' }, { label: '3号空压机', value: 'isRunning', content: '' }, { label: '是否开启联动', value: 'isRunning', content: '' }, ], }, ], partition: [], }, showStyle: { size: 'width:440px;height:390px;', version: '保德', position: 'top:40px;right:10px;', }, }, { deviceType: '', 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: 'chart', basis: '100%', }, ], }, board: [], chart: [ { type: 'line', readFrom: '', legend: { show: true }, xAxis: [{ show: true }], yAxis: [{ show: true, name: '瞬时流量(m³/h)', position: 'left' }], series: [ { readFrom: 'nitrogen_auto[0].readData', xprop: 'tTime', yprop: 'cumulativeFlow', label: '制氮机1', }, { readFrom: 'nitrogen_auto[1].readData', xprop: 'tTime', yprop: 'cumulativeFlow', label: '制氮机2', }, ], }, ], }, showStyle: { size: 'width:440px;height:390px;', version: '原版', position: 'top:440px;right:10px;', }, }, ];