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:
@@ -1,5 +1,6 @@
|
|||||||
// /pages/api/linesColorApi.js
|
// /pages/api/linesColorApi.js
|
||||||
// http://10.10.0.13/talas5/ClientData/WebServiceMap.asmx/GisStationsStatusDistrict
|
// 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) {
|
export default function handler(req, res) {
|
||||||
const response = {
|
const response = {
|
||||||
@@ -8,14 +9,14 @@ export default function handler(req, res) {
|
|||||||
IdMap: "10",
|
IdMap: "10",
|
||||||
Statis: [
|
Statis: [
|
||||||
{
|
{
|
||||||
IdLD: 25440,
|
IdLD: 50922,
|
||||||
Modul: 1,
|
Modul: 1,
|
||||||
DpName: "KUE01_Ausfall",
|
DpName: "KUE01_Ausfall",
|
||||||
ModulName: "42 Wippershain Sender",
|
ModulName: "42 Wippershain Sender",
|
||||||
ModulTyp: "nicht vorhanden",
|
ModulTyp: "nicht vorhanden",
|
||||||
Message: "KUEG 01: 42 Wippershain Sender Messwerkausfall kommend",
|
Message: "KUEG 01: 42 Wippershain Sender Messwerkausfall kommend",
|
||||||
Level: 4,
|
Level: 4,
|
||||||
PrioColor: "#FF00FF",
|
PrioColor: "#FFFF00",
|
||||||
PrioName: "system",
|
PrioName: "system",
|
||||||
Value: "?",
|
Value: "?",
|
||||||
},
|
},
|
||||||
@@ -27,7 +28,7 @@ export default function handler(req, res) {
|
|||||||
ModulTyp: "nicht vorhanden",
|
ModulTyp: "nicht vorhanden",
|
||||||
Message: "KUEG 03: 42 Solz Sender Messwerkausfall kommend",
|
Message: "KUEG 03: 42 Solz Sender Messwerkausfall kommend",
|
||||||
Level: 4,
|
Level: 4,
|
||||||
PrioColor: "#FF00FF",
|
PrioColor: "#FF0000",
|
||||||
PrioName: "system",
|
PrioName: "system",
|
||||||
Value: "?",
|
Value: "?",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user