feat: WebSocket-Integration mit UI-Reaktivierung für GisStationsStaticDistrict

- WebSocket-Trigger implementiert, der `fetchGisStationsStaticDistrictThunk` ausführt.
- Trigger-Mechanismus über `useState` (`triggerUpdate`) sorgt für gezielten UI-Re-Render.
- Problem gelöst, dass Redux-Store zwar neue Daten enthielt, aber die UI nicht aktualisiert wurde.
- MapComponent.js und useDynamicDeviceLayers.js entsprechend angepasst.
This commit is contained in:
Ismail Ali
2025-06-09 00:24:33 +02:00
parent fbffc82e1b
commit b067a4c97e
12 changed files with 113 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
[
{
"LD_Name": "CPL Ismael",
"LD_Name": "CPL Ismail31",
"IdLD": 50922,
"Device": "CPL V3.5 mit 24 Kü",
"Link": "cpl.aspx?ver=35&kue=24&id=50922",
@@ -10,8 +10,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 20,
"System": 1,
"Active": 1
@@ -27,8 +27,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 12,
"System": 5,
"Active": 1
@@ -44,8 +44,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 21,
"System": 6,
"Active": 1
@@ -61,8 +61,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 1,
"System": 11,
"Active": 1
@@ -78,8 +78,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 12,
"System": 111,
"Active": 1
@@ -95,8 +95,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 20,
"System": 1,
"Active": 1
@@ -112,8 +112,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 9,
"System": 7,
"Active": 1
@@ -129,8 +129,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 21,
"System": 6,
"Active": 1
@@ -146,8 +146,8 @@
"Area_Name": "Rastede",
"Area_Short": "",
"IdArea": 20998,
"X": 53.243954,
"Y": 8.160439,
"X": 53.242157,
"Y": 8.160353,
"Icon": 21,
"System": 6,
"Active": 1