const dataInformationFunction = (statusArray) => { let info = `
${statusArray[0] == 0 ? `运行正常` : `运行异常`} ${statusArray[1]}
${statusArray[2]}kW·h ${statusArray[3]}
`; $("#dataInformation").append(info); } const synthetic = (statusArray) => { let info = `
123 123 123 123
123 123 123 123
123213 123213 `; $("#synthetic").append(info); }