const dataInformationFunction = (statusArray) => {
let info = `
${statusArray[0] == 1 ? `正常` : `异常`} |
${statusArray[1]} |
${statusArray[2]}kW·h |
${statusArray[3]} |
`;
$("#dataInformation").html(info);
}
const synthetic = (statusArray, param = {a: 0, b: 0}) => {
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").html(info);
}