import { reactive } from 'vue'; import { BasicColumn } from '/@/components/Table'; export const warningConfig = reactive({ header: ['设备名称', '预警信息', '时间'], data: [ ['火焰6', '严重报警', '03-05'], ['测点43', '一般预警', '03-05'], ['CO23', '一般预警', '03-05'], ['测点6', '超高预警', '03-05'], ['测点65', '超高预警', '03-05'], ['温度4', '一般预警', '03-05'], ['测点61', '一般预警', '03-05'], ['测点87', '一般信息', '03-05'], ], index: false, // columnWidth: [150, 80, 150, 150], headerBGC: '#3d9dd45d', oddRowBGC: '#009acd10', evenRowBGC: '#009acd05', align: ['center', 'center', 'center'], }); export const sensorColumns: BasicColumn[] = [ { title: '名称', dataIndex: 'strname', width: 100, align: 'center', }, { title: '实时值', dataIndex: 'smokeval', width: 80, align: 'center', }, { title: '报警', dataIndex: 'warnFlag', width: 100, align: 'center', }, ]; export const windowParam = [ { title: '前窗面积', code: 'readData.forntArea', unit: '㎡', }, { title: '后窗面积', code: 'readData.rearArea', unit: '㎡', }, { title: '过风量', code: 'readData.fWindowM3', unit: 'm³/min', }, { title: '风窗压差', code: 'readData.frontRearDP', unit: 'Pa', }, ]; export const localFanParam = [ { title: '风机频率', dataIndex: 'FanfHz', }, { title: '供风量', dataIndex: 'readData.m3_merge', }, { title: '运行风机', dataIndex: 'FanRun', }, ]; export const windrectParam = [ { title: '风量', code: 'readData.m3', unit: 'm³/min', }, ]; export const monitorParam = [ // { // title: '安装位置', // code: 'strinstallpos', // unit: '', // }, // { // title: '监测值', // code: 'readData.ss_analog_value', // unit: '', // }, { title: '监测值', code: 'readData.V', //神东大部分矿安全监控设备值都用的字段V,之后如果有矿监测值字段不是V时,沟通运维改点表为V unit: '', }, ]; export const settingParam1 = [ { title: 'CO浓度限值', code: 'coMaxStart', value: '', unit: '%', }, { title: 'O2浓度限值', code: 'o2MinStart', value: '', unit: '%', }, { title: '30min CO下降梯度', code: 'coRiseStart', value: '', unit: '%', }, { title: '30min O2下降梯度', code: 'o2DownStart', value: '', unit: '%', }, ]; export const settingParam2 = [ { title: '风窗面积调整梯度', code: 'windowAreaSetGrad', value: '', unit: '㎡', }, { title: '风窗调节判定时间', code: 'windowSetTime', value: '', unit: 'min', }, { title: '最小风窗面积', code: 'windowMinArea', value: '', unit: '㎡', }, { title: '默认风窗面积', code: 'windowAreaDef', value: '', unit: '㎡', }, ]; export const settingParam3 = [ { title: '调节最短持续时间', code: 'setMinTime', value: '', unit: 'min', }, { title: 'CO浓度不高于', code: 'coEnd', value: '', unit: '㎡', }, { title: 'CO最高限值持续时间', code: 'coTimeEnd', value: '', unit: 'min', }, { title: 'O2浓度不低于', code: 'o2End', value: '', unit: '㎡', }, { title: 'O2最低限值持续时间', code: 'o2TimeEnd', value: '', unit: 'min', }, ];