From 5cf5e34c4f4e20e8d49835988d0acb63a2758f53 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 23 Jul 2025 12:28:12 +0200 Subject: [PATCH] Isolationsfehler in Display anzeigen -> aktuell Zahl ist rot ohne Beschrifftung , es soll Zahl ISO MOhm und Isolationsfehler --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 ++++ .../kabelueberwachung/kue705FO/Kue705FO.tsx | 25 ++++++++++++++++--- docs/TODO.md | 8 +++++- package-lock.json | 4 +-- package.json | 2 +- 7 files changed, 39 insertions(+), 9 deletions(-) diff --git a/.env.development b/.env.development index e0c5dd5..dc001eb 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.632 +NEXT_PUBLIC_APP_VERSION=1.6.633 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 3059689..d538308 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.632 +NEXT_PUBLIC_APP_VERSION=1.6.633 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fdc0891..05ac6cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.633] – 2025-07-23 + +- refactor: order Minimum, Messwert und Maximum, sowie Durchschnitt + +--- ## [1.6.632] – 2025-07-23 - feat(analogInputs): auto-load chart data when table row is selected diff --git a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx index d0a1e33..f75423b 100644 --- a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx +++ b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx @@ -236,7 +236,26 @@ const Kue705FO: React.FC = ({ : "" } > - {isoDisplayValue} + {Number(kuePSTmMinus96V?.[slotIndex]) === 1 ? ( + "PST Fehler" + ) : Number(kueCableBreak?.[slotIndex]) === 1 ? ( + "Aderbruch" + ) : Number(kueGroundFault?.[slotIndex]) === 1 ? ( + "Erdschluss" + ) : Number(kueAlarm1?.[slotIndex]) === 1 ? ( +
+ + Isolationsfehler + + + {isoDisplayValue} MOhm + +
+ ) : Number(kueAlarm2?.[slotIndex]) === 1 ? ( + "Schleifenfehler" + ) : ( + isoDisplayValue + )} {![ @@ -286,7 +305,7 @@ const Kue705FO: React.FC = ({