Test anzeige
Build und Push Docker Image / build-and-push (push) Successful in 10s

This commit is contained in:
2026-10-08 08:27:58 +02:00
parent bf61910304
commit 5efd2f43c5
6 changed files with 63 additions and 45 deletions
+2
View File
@@ -700,6 +700,8 @@ def machine_show(maschine_id):
"ist_h": fmt_num(ist_h),
# Abweichung der zuletzt gebuchten Rate vom Soll pro Stunde.
"abweichung": fmt_num(round(ist_h - soll_h, 2)),
# Grün ab 0 (Soll erreicht oder übertroffen), Rot bei Unterschreitung.
"abweichung_positiv": round(ist_h - soll_h, 2) >= 0,
}
cur.execute(
'SELECT id, timestamp, status, produziert, h_avg, p_grund FROM "MDE" '