diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index 539e280..871e974 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -2,10 +2,10 @@ import React from "react"; import { Icon } from "@iconify/react"; // Für Iconify Icons function Kue705FO({ - isolationswert, - schleifenwiderstand, - modulName, - kueVersion, + isolationswert, // Übergabeparameter für den Isolationswert + schleifenwiderstand, // Übergabeparameter für den Schleifenwiderstand + modulName, // Übergabeparameter für den Modulnamen + kueVersion = "V4.19", // Optionaler Parameter für die Version (Standardwert) }) { return (
@@ -45,7 +45,8 @@ function Kue705FO({ {/* Isolationswert-Anzeige */}
- {">200"} + {isolationswert || ">200"}{" "} + {/* Dynamischer Isolationswert */}
ISO MOhm
@@ -56,12 +57,12 @@ function Kue705FO({ {/* Modulname-Anzeige */}
- Test1 + {modulName || "Test1"} {/* Dynamischer Modulname */}
{/* Version */}
- V4.19 + {kueVersion} {/* Dynamische Version */}
@@ -82,15 +83,15 @@ function Kue705FO({ {/* Wertanzeige */}
- {/* Schleifenwiderstand */} -
-

{schleifenwiderstand} kOhm

+ {/* Dynamischer Schleifenwiderstand */} +
+

{schleifenwiderstand || "0"} kOhm

{/* Schleife und TDR Buttons nebeneinander */} -
+