|
|
@ -93,14 +93,14 @@ |
|
|
|
total[2] += obj.ch[0][6]; // YieldTotal |
|
|
|
total[3] += obj.ch[0][8]; // P_DC |
|
|
|
total[4] += obj.ch[0][10]; // Q_AC |
|
|
|
var t = span(" °C"); |
|
|
|
var t = span(" °C"); |
|
|
|
return ml("div", {class: "row mt-2"}, |
|
|
|
ml("div", {class: "col"}, [ |
|
|
|
ml("div", {class: "p-2 iv-h"}, |
|
|
|
ml("div", {class: "row"}, [ |
|
|
|
ml("div", {class: "col mx-2 mx-md-1"}, obj.name), |
|
|
|
ml("div", {class: "col a-c"}, "Power limit " + ((obj.power_limit_read == 65535) ? "n/a" : (obj.power_limit_read + " %"))), |
|
|
|
ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + t.innerHTML) |
|
|
|
ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + t.innerText) |
|
|
|
]) |
|
|
|
), |
|
|
|
ml("div", {class: "p-2 iv-bg"}, [ |
|
|
|