This commit is contained in:
ISA
2025-05-28 08:04:34 +02:00
parent 97fbb6fdc1
commit 5f0133d638
107 changed files with 1446 additions and 454 deletions

View File

@@ -1,26 +1,25 @@
# 📈 gisStationsMeasurementsSlice
<!-- /docs/redux/slices/webservice/gisStationsMeasurementsSlice.md -->
Verwaltet Messdaten für GIS-Stationen, z.B. Spannungen, Strom, Sensorwerte etc.
# 🧩 gisStationsMeasurementsSlice.js
## 🔧 Pfad
`/redux/slices/webService/gisStationsMeasurementsSlice.js`
Verwaltet Messwerte einzelner Stationen (z.B. Schleifenwiderstand, Isolation) aus Webservice-Antworten.
## 📦 Initial State
## Zustand
```ts
```js
{
data: [],
status: "idle",
error: null
status: "idle" | "loading" | "succeeded" | "failed",
error: string | null
}
```
## 🔁 Thunk: `fetchGisStationsMeasurementsFromWebService`
## Thunk
Verwendet `fetchGisStationsMeasurements()` als API-Quelle.
- `fetchGisStationsMeasurementsThunk()`
## 📊 Selector
## Selector
```ts
selectGisStationsMeasurements = (state) => state.gisStationsMeasurements.data;
```js
selectGisStationsMeasurements = (state) => state.gisStationsMeasurements.data
```