Bezeichnung state in Kabelüberwacchung Modul Kue705FO funktioniert
This commit is contained in:
@@ -131,8 +131,7 @@ function Kabelueberwachung() {
|
|||||||
{console.log(
|
{console.log(
|
||||||
`Module Data (Rack ${activeRack}, Slot ${index + 1}):`,
|
`Module Data (Rack ${activeRack}, Slot ${index + 1}):`,
|
||||||
slot
|
slot
|
||||||
)}{" "}
|
)}
|
||||||
{/* Log each module's data */}
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -262,6 +262,14 @@ function Kue705FO({
|
|||||||
goTDR(); // Wenn TDR aktiv ist, starte goTDR
|
goTDR(); // Wenn TDR aktiv ist, starte goTDR
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
useEffect(() => {
|
||||||
|
setCurrentModulName(modulName);
|
||||||
|
}, [modulName]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setCurrentDisplayValue(schleifenwiderstand);
|
||||||
|
}, [schleifenwiderstand]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative bg-gray-300 w-[116px] h-[390px] border border-gray-400 scale-110 top-3">
|
<div className="relative bg-gray-300 w-[116px] h-[390px] border border-gray-400 scale-110 top-3">
|
||||||
{isModulPresent ? (
|
{isModulPresent ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user