Uebersicht: schmale Leerzeichen und / als Trenner in den Nebenzeilen
Sonne und Netz trennen ihre Werte mit schmalem Leerzeichen und Schraegstrich statt Mittelpunkt; die Batterie setzt ein schmales Leerzeichen vor %. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -98,7 +98,7 @@ const ENERGIEFLUSS_KATALOG = (function () {
|
||||
return {
|
||||
leistung: pv,
|
||||
segmente: flaechen.length ? flaechen : null,
|
||||
neben: flaechen.map(f => kw(f.w)).join(" · "),
|
||||
neben: flaechen.map(f => kw(f.w)).join(" / "),
|
||||
fluss: -pv,
|
||||
ruhe: pv < 20,
|
||||
zustand: { an: pv >= 20, stand: Math.min(1, pv / 10000) },
|
||||
@@ -113,7 +113,7 @@ const ENERGIEFLUSS_KATALOG = (function () {
|
||||
const a = n => (Math.round(Math.abs(m.zahl("solarManager/i_" + n + "evu")) * 10) / 10).toString().replace(".", ",");
|
||||
return {
|
||||
leistung: Math.abs(netz),
|
||||
neben: a("l1") + "·" + a("l2") + "·" + a("l3") + " A",
|
||||
neben: a("l1") + " / " + a("l2") + " / " + a("l3") + " A",
|
||||
fluss: -netz,
|
||||
ruhe: Math.abs(netz) < 30,
|
||||
};
|
||||
@@ -134,7 +134,7 @@ const ENERGIEFLUSS_KATALOG = (function () {
|
||||
}
|
||||
return {
|
||||
leistung: Math.abs(p),
|
||||
neben: Math.round(soc) + " %" + (laden ? " · lädt" : p > 20 ? " · entlädt" : ""),
|
||||
neben: Math.round(soc) + " %" + (laden ? " lädt" : p > 20 ? " entlädt" : ""),
|
||||
fluss: -p,
|
||||
ruhe: Math.abs(p) < 20,
|
||||
zeichen,
|
||||
@@ -152,7 +152,7 @@ const ENERGIEFLUSS_KATALOG = (function () {
|
||||
return {
|
||||
leistung: aut,
|
||||
wert: Math.round(aut) + " %",
|
||||
neben: "Wirkungsgrad " + Math.round(m.zahl("solarManager/eff")) + " %",
|
||||
neben: "Wirkungsgrad " + Math.round(m.zahl("solarManager/eff")) + "%",
|
||||
segmente: [{ w: aut, farbe: "#6cbe58" }],
|
||||
zustand: { an: m.zahl("solarManager/P_PV") >= 20 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user