Isolationsfehler in Display anzeigen -> aktuell Zahl ist rot ohne Beschrifftung , es soll Zahl ISO MOhm und Isolationsfehler
This commit is contained in:
@@ -236,7 +236,26 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
: ""
|
||||
}
|
||||
>
|
||||
{isoDisplayValue}
|
||||
{Number(kuePSTmMinus96V?.[slotIndex]) === 1 ? (
|
||||
"PST Fehler"
|
||||
) : Number(kueCableBreak?.[slotIndex]) === 1 ? (
|
||||
"Aderbruch"
|
||||
) : Number(kueGroundFault?.[slotIndex]) === 1 ? (
|
||||
"Erdschluss"
|
||||
) : Number(kueAlarm1?.[slotIndex]) === 1 ? (
|
||||
<div>
|
||||
<span className="text-[0.65rem] block">
|
||||
Isolationsfehler
|
||||
</span>
|
||||
<span className="text-[0.65rem] block">
|
||||
{isoDisplayValue} MOhm
|
||||
</span>
|
||||
</div>
|
||||
) : Number(kueAlarm2?.[slotIndex]) === 1 ? (
|
||||
"Schleifenfehler"
|
||||
) : (
|
||||
isoDisplayValue
|
||||
)}
|
||||
</span>
|
||||
|
||||
{![
|
||||
@@ -286,7 +305,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
<button
|
||||
onClick={() => {
|
||||
setActiveButton("TDR");
|
||||
setloopTitleText("Entfernung [Km]");
|
||||
setloopTitleText("Entfernung [km]");
|
||||
|
||||
const latestTdrDistanceMeters =
|
||||
Array.isArray(tdmChartData?.[slotIndex]) &&
|
||||
@@ -332,7 +351,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
<div className="text-center text-black text-[0.625rem]">
|
||||
<p>
|
||||
{loopDisplayValue +
|
||||
(activeButton === "Schleife" ? " KOhm" : " Km")}
|
||||
(activeButton === "Schleife" ? " kOhm" : " km")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user