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