const dataInformationFunction = (statusArray) => {
let info = `
${statusArray[0] == 1 ? `运行正常` : `运行异常`} |
${statusArray[1]} |
${statusArray[2]}kW·h |
${statusArray[3]} |
`;
$("#dataInformation").append(info);
}
const synthetic = (statusArray) => {
console.log(statusArray);
let info = `
${statusArray[0] || 0} |
${statusArray[1] || 0} |
${statusArray[2] || 0} |
${statusArray[3] || 0} |
|
|
${statusArray[4] || 0} |
|
${statusArray[5] || 0} |
|
${statusArray[6] || 0} |
|
${statusArray[7] || 0} |
|
${statusArray[8] || 0}
${statusArray[9] || 0}
`;
$("#synthetic").append(info);
}