From 60fecd9045330899d543af91e03291164ce63a2d Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 28 Oct 2024 11:36:38 +0100 Subject: [PATCH] =?UTF-8?q?loopDisplayText=20in=20loopTitleText=20umbenenn?= =?UTF-8?q?en=20und=20Text=20zu=207Pixel=20vergr=C3=B6=C3=9Fern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/modules/Kue705FO.jsx | 10 +++++----- public/CPLmockData/SERVICE/kueData.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index 83ca897..8b153aa 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -18,7 +18,7 @@ function Kue705FO({ const [currentAlarmStatus, setCurrentAlarmStatus] = useState(false); const [currentModulName, setCurrentModulName] = useState(modulName); const [activeButton, setActiveButton] = useState("Schleife"); - const [loopDisplayText, setloopDisplayText] = useState( + const [loopTitleText, setloopTitleText] = useState( "Schleifenwiderstand [kOhm]" ); const [isoDisplayText, setIsoDisplayText] = useState("Aderbruch"); @@ -279,11 +279,11 @@ function Kue705FO({ const handleButtonClick = (button) => { if (button === "Schleife") { setActiveButton("Schleife"); - setloopDisplayText("Schleifenwiderstand [kOhm]"); + setloopTitleText("Schleifenwiderstand [kOhm]"); setCurrentDisplayValue(schleifenwiderstand || "0"); } else if (button === "TDR") { setActiveButton("TDR"); - setloopDisplayText("Entfernung [Km]"); + setloopTitleText("Entfernung [Km]"); setCurrentDisplayValue(tdrLocation || "0"); } }; @@ -539,8 +539,8 @@ function Kue705FO({ {/* loopDisplay: Zeigt Schleifenwiderstand oder TDR-Distanz an, je nach Modus */}
- - {loopDisplayText} + + {loopTitleText}
diff --git a/public/CPLmockData/SERVICE/kueData.js b/public/CPLmockData/SERVICE/kueData.js index 7f8dd8b..b90ea02 100644 --- a/public/CPLmockData/SERVICE/kueData.js +++ b/public/CPLmockData/SERVICE/kueData.js @@ -161,7 +161,7 @@ var tdrLocation = [ 0, 0, 0, 0, 0, 0, ]; var tdrActive = [ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ]; var tdrLast = [