From 937fb20df3ad01291cc2eb72a6a91da5ba80bc2f Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 25 Jun 2024 10:54:53 +0200 Subject: [PATCH] edit: Lines Color red and yellow for screenshot, DB -> gis_lines or in /pages/api/linesColorApi.js change IdLD-> idLD and Modul -> idModul --- pages/api/linesColorApi.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/api/linesColorApi.js b/pages/api/linesColorApi.js index 18cf42d99..be2c323fe 100644 --- a/pages/api/linesColorApi.js +++ b/pages/api/linesColorApi.js @@ -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: "?", },