analoge eingänge

This commit is contained in:
ISA
2025-06-19 12:27:00 +02:00
parent 887e7b4992
commit 3a829f2298
28 changed files with 285 additions and 248 deletions

View File

@@ -14,7 +14,7 @@ import Footer from "../components/footer/Footer";
// Thunks importieren
import { fetchKueDataThunk } from "../redux/thunks/fetchKueDataThunk";
import { fetchDigitalOutputsThunk } from "../redux/thunks/fetchDigitalOutputsThunk";
import { fetchAnalogeEingaengeThunk } from "../redux/thunks/fetchAnalogeEingaengeThunk";
import { fetchAnalogInputsThunk } from "../redux/thunks/fetchAnalogInputsThunk";
import { fetchAnalogInputsHistoryThunk } from "../redux/thunks/fetchAnalogInputsHistoryThunk";
import { fetchLast20MessagesThunk } from "../redux/thunks/fetchLast20MessagesThunk";
import { fetchOpcUaSettingsThunk } from "../redux/thunks/fetchOpcUaSettingsThunk";
@@ -50,8 +50,8 @@ function AppContent({ Component, pageProps }: AppProps) {
dispatch(fetchDigitalOutputsThunk());
} else if (pathname.includes("digitalInputs")) {
dispatch(fetchDigitalOutputsThunk()); // 🟠 evtl. anpassen
} else if (pathname.includes("analogeEingaenge")) {
dispatch(fetchAnalogeEingaengeThunk());
} else if (pathname.includes("analogInputs")) {
dispatch(fetchAnalogInputsThunk());
} else if (pathname.includes("analogHistory")) {
dispatch(fetchAnalogInputsHistoryThunk());
} else if (pathname.includes("dashboard")) {