edit: Lines Color red and yellow for screenshot, DB -> gis_lines or in /pages/api/linesColorApi.js change IdLD-> idLD and Modul -> idModul

This commit is contained in:
ISA
2024-06-25 10:54:53 +02:00
parent df8bcf974a
commit 937fb20df3

View File

@@ -1,5 +1,6 @@
// /pages/api/linesColorApi.js
// http://10.10.0.13/talas5/ClientData/WebServiceMap.asmx/GisStationsStatusDistrict
//In DB gis_lines idLD und idModul anpassen entsprechend
export default function handler(req, res) {
const response = {
@@ -8,14 +9,14 @@ export default function handler(req, res) {
IdMap: "10",
Statis: [
{
IdLD: 25440,
IdLD: 50922,
Modul: 1,
DpName: "KUE01_Ausfall",
ModulName: "42 Wippershain Sender",
ModulTyp: "nicht vorhanden",
Message: "KUEG 01: 42 Wippershain Sender Messwerkausfall kommend",
Level: 4,
PrioColor: "#FF00FF",
PrioColor: "#FFFF00",
PrioName: "system",
Value: "?",
},
@@ -27,7 +28,7 @@ export default function handler(req, res) {
ModulTyp: "nicht vorhanden",
Message: "KUEG 03: 42 Solz Sender Messwerkausfall kommend",
Level: 4,
PrioColor: "#FF00FF",
PrioColor: "#FF0000",
PrioName: "system",
Value: "?",
},