chore: fetch to get in redux thunks files name
This commit is contained in:
@@ -15,7 +15,7 @@ Dieses Dokument beschreibt die Architektur und Datenflüsse für das **Lesen** u
|
||||
```mermaid
|
||||
flowchart TD
|
||||
A[DigitalOutputsWidget.tsx] --> B[useEffect]
|
||||
B --> C[dispatch fetchDigitalOutputsThunk]
|
||||
B --> C[dispatch getDigitalOutputsThunk]
|
||||
C --> D[fetchDigitalOutputsService]
|
||||
D --> E{Moduswahl: NEXT_PUBLIC_CPL_MODE}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
```mermaid
|
||||
flowchart TD
|
||||
Start([SystemPage geöffnet])
|
||||
Start --> DispatchThunk[Dispatch fetchSystemVoltTempThunk]
|
||||
Start --> DispatchThunk[Dispatch getSystemVoltTempThunk]
|
||||
DispatchThunk --> Service[fetchSystemVoltTempService lädt Daten]
|
||||
Service -->|Erfolg| ReduxStore[Redux Store aktualisiert]
|
||||
ReduxStore --> View[Anzeige der Werte und Charts]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
User(User öffnet Seite)
|
||||
User --> DispatchThunk(fetchSystemVoltTempThunk)
|
||||
User --> DispatchThunk(getSystemVoltTempThunk)
|
||||
DispatchThunk --> ServiceCall(fetchSystemVoltTempService)
|
||||
ServiceCall --> API(API Handler / Mock Daten)
|
||||
API --> ScriptLoaded(Mock-Daten im window geladen)
|
||||
|
||||
@@ -10,7 +10,7 @@ sequenceDiagram
|
||||
participant MockData
|
||||
|
||||
User->>SystemPage: Öffnet System-Seite
|
||||
SystemPage->>ReduxStore: dispatch(fetchSystemVoltTempThunk)
|
||||
SystemPage->>ReduxStore: dispatch(getSystemVoltTempThunk)
|
||||
ReduxStore->>Service: fetchSystemVoltTempService()
|
||||
Service->>API: Anfrage an /api/cpl/systemVoltTempAPIHandler
|
||||
API->>MockData: Lese systemVoltTempMockData.js
|
||||
|
||||
Reference in New Issue
Block a user