/** * 监测数据组配置,该配置主要影响的是模型中套件的数量 * * 数组第一层意味着有几套监测系统,第二层意味着一套监测系统里有几个套件。 * 第二层中的数据意味着套件编号,将用于生成点表字段来展示数据 */ export const monitorDataGroupArr = [[1, 2, 3, 4]]; /** * 监测数据详情配置,该配置主要影响了模型里各个套件所展示的详情信息 * * type代表详情信息排版类型 * * key用于和套件编号、list[x].code一起生成点表字段,例如:key1code */ export const modelMonitor = [ { type: 'list', title: '空压机', stateHeader: [], key: 'forFan', list: [ { code: 'signal', child: [ { title: `运行状态`, code: `Working`, isWaring: false, }, ], }, { title: '出口压力', code: 'GasSupplyPressure', unit: 'mPa', }, { title: `电机电流`, code: `Current`, unit: 'A', }, { title: `运行时间`, code: `RunTime`, unit: 'h', }, { title: `电机温度`, code: `Temp`, unit: '℃', }, { title: '风包压力', code: 'WindBagPressure', unit: 'mPa', }, { title: '风包温度', code: 'WindBagTemp', unit: '℃', }, ], }, { type: 'list', title: '储气罐', key: 'PRE', stateHeader: [], list: [], }, ]; /** * 左侧监测数据配置,该配置主要影响左边监测模块里展示的信息 * * type代表详情信息排版类型 * * key用于和套件编号、list[x].code一起生成点表字段,例如:key1code */ export const leftMonitor = [ // { // type: 'list', // title: '压风机1', // stateHeader: [], // children: [ // { // title: '', // childTitle: ['1#压风机'], // key: ['PRE1'], // list: [ // { // title: `启动失败`, // code: `_MOT_StartFail`, // type: 'warning', // }, // { // title: `停止失败`, // code: `_MOT_StopFail`, // type: 'warning', // }, // { // title: `报警信号`, // code: `_AlamSignal`, // type: 'warning', // }, // { // title: `故障信号`, // code: `_FaultSignal`, // type: 'warning', // }, // { // title: `B相绕组超温`, // code: `_MOT_PhaseBTempAlarm`, // type: 'warning', // }, // { // title: `C相绕组超温`, // code: `_MOT_PhaseCTempAlarm`, // type: 'warning', // }, // { // title: '电机启动失败', // code: '_MOT_StartFail', // type: 'warning', // }, // { // title: '电机停止失败', // code: '_MOT_StopFail', // type: 'warning', // }, // { // title: '电机运行返回', // code: '_MOT_RunReturn', // type: 'warning', // }, // { // title: `A相绕组超温`, // code: `_MOT_PhaseATempAlarm`, // type: 'warning', // }, // { // title: `主机本机`, // code: `_HostorLoc`, // type: 'signal', // }, // { // title: '总运行时间(h)', // code: '_MOT_TotalRunTime', // type: '', // }, // { // title: 'A相绕组温度(℃)', // code: '_MOT_PhaseATemp', // type: '', // }, // { // title: 'B相绕组温度(℃)', // code: '_MOT_PhaseBTemp', // type: '', // }, // { // title: 'C相绕组温度(℃)', // code: '_MOT_PhaseCTemp', // type: '', // }, // ], // }, // ], // }, // { // type: 'list', // title: '压风机2', // stateHeader: [], // children: [ // { // title: '', // childTitle: ['2#压风机'], // key: ['PRE2'], // list: [ // { // title: `启动失败`, // code: `_MOT_StartFail`, // type: 'warning', // }, // { // title: `停止失败`, // code: `_MOT_StopFail`, // type: 'warning', // }, // { // title: `报警信号`, // code: `_AlamSignal`, // type: 'warning', // }, // { // title: `故障信号`, // code: `_FaultSignal`, // type: 'warning', // }, // { // title: `B相绕组超温`, // code: `_MOT_PhaseBTempAlarm`, // type: 'warning', // }, // { // title: `C相绕组超温`, // code: `_MOT_PhaseCTempAlarm`, // type: 'warning', // }, // { // title: '电机启动失败', // code: '_MOT_StartFail', // type: 'warning', // }, // { // title: '电机停止失败', // code: '_MOT_StopFail', // type: 'warning', // }, // { // title: '电机运行返回', // code: '_MOT_RunReturn', // type: 'warning', // }, // { // title: `A相绕组超温`, // code: `_MOT_PhaseATempAlarm`, // type: 'warning', // }, // { // title: `主机本机`, // code: `_HostorLoc`, // type: 'signal', // }, // { // title: '总运行时间(h)', // code: '_MOT_TotalRunTime', // type: '', // }, // { // title: 'A相绕组温度(℃)', // code: '_MOT_PhaseATemp', // type: '', // }, // { // title: 'B相绕组温度(℃)', // code: '_MOT_PhaseBTemp', // type: '', // }, // { // title: 'C相绕组温度(℃)', // code: '_MOT_PhaseCTemp', // type: '', // }, // ], // }, // ], // }, ]; /** * 右上角汇总数据配置 * * code表示点表字段,例如:pressure_total */ export const totalData = [ { title: '总压力', code: 'TotalPressure', unit: 'mPa', }, ]; /** * 右侧监测数据配置,该配置主要影响右边监测模块里展示的信息 * * type代表详情信息排版类型 * * key用于和套件编号、list[x].code一起生成点表字段,例如:key1code */ export const rightMonitor = [ // { // type: 'list', // title: '压风机3', // stateHeader: [], // children: [ // { // title: '', // childTitle: ['3#压风机'], // key: ['PRE3'], // list: [ // { // title: `启动失败`, // code: `_MOT_StartFail`, // type: 'warning', // }, // { // title: `停止失败`, // code: `_MOT_StopFail`, // type: 'warning', // }, // { // title: `报警信号`, // code: `_AlamSignal`, // type: 'warning', // }, // { // title: `故障信号`, // code: `_FaultSignal`, // type: 'warning', // }, // { // title: `B相绕组超温`, // code: `_MOT_PhaseBTempAlarm`, // type: 'warning', // }, // { // title: `C相绕组超温`, // code: `_MOT_PhaseCTempAlarm`, // type: 'warning', // }, // { // title: '电机启动失败', // code: '_MOT_StartFail', // type: 'warning', // }, // { // title: '电机停止失败', // code: '_MOT_StopFail', // type: 'warning', // }, // { // title: '电机运行返回', // code: '_MOT_RunReturn', // type: 'warning', // }, // { // title: `A相绕组超温`, // code: `_MOT_PhaseATempAlarm`, // type: 'warning', // }, // { // title: `主机本机`, // code: `_HostorLoc`, // type: 'signal', // }, // { // title: '总运行时间(h)', // code: '_MOT_TotalRunTime', // type: '', // }, // { // title: 'A相绕组温度(℃)', // code: '_MOT_PhaseATemp', // type: '', // }, // { // title: 'B相绕组温度(℃)', // code: '_MOT_PhaseBTemp', // type: '', // }, // { // title: 'C相绕组温度(℃)', // code: '_MOT_PhaseCTemp', // type: '', // }, // ], // }, // ], // }, ]; export const detailCtrl = [];