feat: Priorisiere und style PST-M Ausfall als kritischen Alarm

- Implementiert PST-M Ausfall als höchste Priorität in der Alarmanzeige.
- Hinzugefügt: "PST-M prüfen" wird rot angezeigt, wie bei Aderbruch, Erdschluss, Isolationsfehler und Schleifenfehler.
- Einheit "ISO MOhm" wird nur angezeigt, wenn kein Alarm aktiv ist.
This commit is contained in:
ISA
2024-10-29 14:23:18 +01:00
parent b1a24a3f4e
commit 66259de1eb
5 changed files with 36 additions and 22 deletions

View File

@@ -11,8 +11,9 @@ function MyApp({ Component, pageProps }) {
if (typeof window !== "undefined") {
loadWindowVariables()
.then(() => {
// Das Netzteil PST-M "-96V" hat eine Störung oder ist ausgefallen
console.log("Window variables loaded successfully.");
console.log("Geladene Systemvariablen:", {
console.log("Variablen von CPL in Window Objekt speichern:", {
deviceName: window.deviceName,
ip: window.ip,
mac1: window.mac1,
@@ -21,6 +22,7 @@ function MyApp({ Component, pageProps }) {
gateway: window.gateway,
datetime: window.datetime,
kueOnline: window.kueOnline,
kuePSTmMinus96V: window.kuePSTmMinus96V,
kueIso: window.kueIso,
kueAlarm1: window.kueAlarm1,
kueAlarm2: window.kueAlarm2,