365 lines
8.0 KiB
PHP
365 lines
8.0 KiB
PHP
<?php
|
|
|
|
$data = '{
|
|
"plugs": [
|
|
{
|
|
"name": "SpDr L30",
|
|
"id": "0",
|
|
"programCharNumber": "5"
|
|
},
|
|
{
|
|
"name": "SpDr S60",
|
|
"id": "1",
|
|
"programCharNumber": "6"
|
|
}
|
|
],
|
|
"bridges": [
|
|
{
|
|
"plugID": null,
|
|
"bridgeName": "3",
|
|
"nodes": [
|
|
[
|
|
"14",
|
|
"27"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": null,
|
|
"bridgeName": "4",
|
|
"nodes": [
|
|
[
|
|
"16",
|
|
"15"
|
|
],
|
|
null,
|
|
[
|
|
"15",
|
|
"23"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": null,
|
|
"bridgeName": "40",
|
|
"nodes": [
|
|
[
|
|
"15",
|
|
"13"
|
|
],
|
|
null,
|
|
null,
|
|
null,
|
|
null,
|
|
[
|
|
"30",
|
|
"33"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "68",
|
|
"nodes": [
|
|
[
|
|
"20",
|
|
"30"
|
|
],
|
|
[
|
|
"35",
|
|
"36"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "70",
|
|
"nodes": [
|
|
[
|
|
"34",
|
|
"24"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "72",
|
|
"nodes": [
|
|
[
|
|
"24",
|
|
"14"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "62",
|
|
"nodes": [
|
|
[
|
|
"33",
|
|
"23"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "65",
|
|
"nodes": [
|
|
[
|
|
"12",
|
|
"13"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "78",
|
|
"nodes": [
|
|
[
|
|
"31",
|
|
"21"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"bridgeName": "80",
|
|
"nodes": [
|
|
[
|
|
"31",
|
|
"22"
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"programs": [
|
|
{
|
|
"plugID": "0",
|
|
"programID": [
|
|
"V",
|
|
"-",
|
|
"-",
|
|
"-",
|
|
"-"
|
|
],
|
|
"bridges": [
|
|
"68"
|
|
],
|
|
"programDescription": "verschlossen werden"
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"programID": [
|
|
"-",
|
|
"1",
|
|
"-",
|
|
"-",
|
|
"0"
|
|
],
|
|
"bridges": [
|
|
"70",
|
|
"72"
|
|
],
|
|
"programDescription": "weder Kreuzungs- noch Zwieschutzweiche"
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"programID": [
|
|
"-",
|
|
"-",
|
|
"3",
|
|
"-",
|
|
"-"
|
|
],
|
|
"bridges": [
|
|
"62",
|
|
"65"
|
|
],
|
|
"programDescription": "Zugfahrt auf Hp1 nur \u00fcber Minusstrang stellbar"
|
|
},
|
|
{
|
|
"plugID": "0",
|
|
"programID": [
|
|
"-",
|
|
"-",
|
|
"-",
|
|
"5",
|
|
"-"
|
|
],
|
|
"bridges": [
|
|
"78",
|
|
"80"
|
|
],
|
|
"programDescription": "Zugfahrten auf Sh1 \u00fcber Weiche stellbar"
|
|
}
|
|
],
|
|
"places": [
|
|
{
|
|
"name": "Osterburken Of",
|
|
"placeID": "g7FhxA"
|
|
},
|
|
{
|
|
"name": "M\u00fchlacker Mf",
|
|
"placeID": "tFu7hD"
|
|
},
|
|
{
|
|
"name": "Mannheim-Waldhof Wf (Mwf)",
|
|
"placeID": "cqGe8D"
|
|
},
|
|
{
|
|
"name": "V\u00f6lklingen Vf",
|
|
"placeID": "2d9jzL"
|
|
},
|
|
{
|
|
"name": "G\u00f6ppingen Gf",
|
|
"placeID": "Hpg65B"
|
|
},
|
|
{
|
|
"name": "Geislingen (Steige) Gf",
|
|
"placeID": "sUfr3C"
|
|
},
|
|
{
|
|
"name": "B\u00f6blingen Bf",
|
|
"placeID": "mxgPY2"
|
|
},
|
|
{
|
|
"name": "Amstetten (W\u00fcrtt) Af",
|
|
"placeID": "SwZK2B"
|
|
},
|
|
{
|
|
"name": "Bierbach Bf",
|
|
"placeID": "u8FTYx"
|
|
},
|
|
{
|
|
"name": "Bondorf (b Herrenberg) Bf",
|
|
"placeID": "FKR5A9"
|
|
},
|
|
{
|
|
"name": "Gingen (Fils)",
|
|
"placeID": "5J6Zge"
|
|
},
|
|
{
|
|
"name": "Illingen (W\u00fcrtt) If",
|
|
"placeID": "rWCN6b"
|
|
},
|
|
{
|
|
"name": "Laupheim West Lf",
|
|
"placeID": "JUwSbY"
|
|
},
|
|
{
|
|
"name": "Orschweier Of (Orf)",
|
|
"placeID": "ha88hL"
|
|
},
|
|
{
|
|
"name": "T\u00fcrkism\u00fchle Tf",
|
|
"placeID": "63sKQa"
|
|
},
|
|
{
|
|
"name": "V\u00f6lklingen Saarstahl Walzwerk Ngf",
|
|
"placeID": "a9tSAR"
|
|
},
|
|
{
|
|
"name": "Dudweiler Df",
|
|
"placeID": "Fmk3fT"
|
|
},
|
|
{
|
|
"name": "Beckingen (Saar) Bf",
|
|
"placeID": "eQ7CAB"
|
|
},
|
|
{
|
|
"name": "G\u00e4rtringen Gf",
|
|
"placeID": "G9FBxL"
|
|
},
|
|
{
|
|
"name": null,
|
|
"placeID": "sxQjTF"
|
|
},
|
|
{
|
|
"name": "geislingen",
|
|
"placeID": "Xkp3Ak"
|
|
},
|
|
{
|
|
"name": "Meine Tasche",
|
|
"placeID": "PUEtdp"
|
|
},
|
|
{
|
|
"name": "Mein B\u00fcro",
|
|
"placeID": "vcY225"
|
|
},
|
|
{
|
|
"name": "Karlsruhe B\u00fcro",
|
|
"placeID": "Qf4lI8"
|
|
}
|
|
],
|
|
"measurements": [
|
|
{
|
|
"plugID": [
|
|
"0",
|
|
"1"
|
|
],
|
|
"place": "cqGe8D",
|
|
"programID": [
|
|
"V",
|
|
"1",
|
|
"3",
|
|
"5",
|
|
"0"
|
|
],
|
|
"bridges": [
|
|
[
|
|
"22",
|
|
"31"
|
|
],
|
|
[
|
|
"21",
|
|
"22"
|
|
],
|
|
[
|
|
"12",
|
|
"13"
|
|
],
|
|
[
|
|
"23",
|
|
"33"
|
|
],
|
|
[
|
|
"21",
|
|
"31"
|
|
],
|
|
[
|
|
"14",
|
|
"24"
|
|
],
|
|
[
|
|
"14",
|
|
"34"
|
|
],
|
|
[
|
|
"24",
|
|
"34"
|
|
],
|
|
[
|
|
"20",
|
|
"30"
|
|
],
|
|
[
|
|
"35",
|
|
"36"
|
|
],
|
|
[
|
|
"17",
|
|
"36"
|
|
]
|
|
],
|
|
"special": "+ Br\u00fccke 56",
|
|
"timestamp": 1740400487
|
|
}
|
|
]
|
|
}';
|
|
|
|
|
|
|
|
file_put_contents("database.json", $data)
|
|
|
|
?>
|