"use client"; import React, { useState } from "react"; function AnalogeEingaenge() { const [activeConfig, setActiveConfig] = useState(null); // Mock-Daten für die analogen Eingänge const inputs = [ { id: 1, value: 0, name: "----", uW: true, uG: true, oW: false, oG: true }, { id: 2, value: 22.91, name: "Feuchtigkeit", uW: true, uG: true, oW: true, oG: false, }, { id: 3, value: 0, name: "----", uW: true, uG: true, oW: false, oG: true }, { id: 4, value: 0, name: "----", uW: true, uG: true, oW: false, oG: true }, { id: 5, value: 0, name: "----", uW: true, uG: true, oW: false, oG: true }, { id: 6, value: 21.0, name: "Temperatur", uW: true, uG: true, oW: false, oG: false, }, { id: 7, value: 0, name: "----", uW: true, uG: true, oW: true, oG: true }, { id: 8, value: 0, name: "----", uW: true, uG: true, oW: false, oG: true }, ]; // Mock-Daten für XIO-PM 1 const xioPmInputs = [ { id: 1, value: 1.34, name: "Test1", uW: true, uG: true, oW: false, oG: true, }, { id: 2, value: 7.94, name: "----", uW: true, uG: true, oW: true, oG: true, }, { id: 3, value: 7.94, name: "----", uW: false, uG: true, oW: true, oG: true, }, { id: 4, value: 7.94, name: "----", uW: true, uG: true, oW: true, oG: true, }, { id: 5, value: 6.13, name: "----", uW: true, uG: true, oW: true, oG: true, }, { id: 6, value: 8.77, name: "----", uW: true, uG: true, oW: false, oG: true, }, { id: 7, value: 10.59, name: "----", uW: true, uG: true, oW: true, oG: true, }, { id: 8, value: 15.11, name: "----", uW: true, uG: true, oW: false, oG: true, }, ]; return (
| Eingang | Wert | Bezeichnung | uW | uG | oW | oG | Aktion |
|---|---|---|---|---|---|---|---|
| {input.id} | {input.value} | {input.name} | ● | ● | ● | ● |
Diagramm wird hier eingefügt
| Eingang | Wert | Bezeichnung | uW | uG | oW | oG | Aktion |
|---|---|---|---|---|---|---|---|
| {input.id} | {input.value} | {input.name} | ● | ● | ● | ● |
Inhalt für XIO-PM 2 wird hier eingefügt