feat: Redux-Struktur für LoopChart vereinheitlicht (DIA0–2 + Typ 3/4)

- Alle Schleifen- und Isolationswiderstandsdaten werden zentral in loopChart.data gespeichert
- Redux State unterstützt nun strukturierte Speicherung nach mode (DIA0–DIA2) und type (3/4)
- Bestehender Thunk fetchLoopChartDataThunk wurde angepasst zur Wiederverwendung
- Zugriff aus Komponente via loopData["DIAx"][type] möglich
This commit is contained in:
Ismail Ali
2025-03-23 18:07:00 +01:00
parent 39f3dbfb6c
commit 44db20a871
7 changed files with 122 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ const getApiUrl = () => {
return process.env.NODE_ENV === "development"
? `${window.location.origin}/CPLmockData/SERVICE/ae.js`
: `${window.location.origin}/CPL/SERVICE/ae.js`;
: `${window.location.origin}/CPL?/CPL/SERVICE/ae.js`;
};
/**

View File

@@ -9,7 +9,7 @@ const getApiUrl = () => {
return process.env.NODE_ENV === "development"
? `${window.location.origin}/CPLmockData/SERVICE/de.js`
: `${window.location.origin}/CPL/SERVICE/de.js`;
: `${window.location.origin}/CPL?/CPL/SERVICE/de.js`;
};
/**