From ff17b791f04f65cfcf5f8bce7c6c0951d8e9fe9a Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 26 Dec 2020 23:38:52 +0100 Subject: [PATCH] Optymalizacja listy ze sceneriami | v1.3.4 -> .5 --- package-lock.json | 57 + package.json | 1 + public/index.html | 2 + src/App.vue | 2 +- src/data/stationData.json | 1 + src/data/stations.json | 2269 ----------------------------- src/firebase/config.ts | 0 src/scripts/interfaces/Station.ts | 6 + src/store/store.ts | 60 +- 9 files changed, 121 insertions(+), 2277 deletions(-) create mode 100644 src/data/stationData.json delete mode 100644 src/data/stations.json create mode 100644 src/firebase/config.ts diff --git a/package-lock.json b/package-lock.json index 4d50077..c70bb61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4927,6 +4927,63 @@ "locate-path": "^3.0.0" } }, + "firebase": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/firebase/-/firebase-2.4.2.tgz", + "integrity": "sha1-ThEZ7AOWylYdinrL/xYw/qxsCjE=", + "requires": { + "faye-websocket": ">=0.6.0" + }, + "dependencies": { + "faye-websocket": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.9.3.tgz", + "integrity": "sha1-SCpQWw3wrmJrlphm0710DNuWLoM=", + "requires": { + "websocket-driver": ">=0.5.1" + }, + "dependencies": { + "websocket-driver": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.5.2.tgz", + "integrity": "sha1-jHyF2gcTtAYFVrTXHAF3XuEmnrk=", + "requires": { + "websocket-extensions": ">=0.1.1" + }, + "dependencies": { + "websocket-extensions": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.1.tgz", + "integrity": "sha1-domUmcGEtu91Q3fC27DNbLVdKec=" + } + } + } + } + } + } + }, + "firebase-token-generator": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/firebase-token-generator/-/firebase-token-generator-2.0.0.tgz", + "integrity": "sha1-l2fXWewTq9yZuhFf1eqZ2Lk9EgY=" + }, + "firestore": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/firestore/-/firestore-1.1.6.tgz", + "integrity": "sha1-cyhLzp/psIva1sGCeNJbaW4SPMI=", + "requires": { + "firebase": "^2.1.2", + "firebase-token-generator": "^2.0.0", + "lodash": "^3.1.0" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=" + } + } + }, "flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", diff --git a/package.json b/package.json index cca281e..924dcf7 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "core-js": "^3.6.5", "dotenv": "^8.2.0", + "firestore": "^1.1.6", "howler": "^2.2.1", "vue": "^2.6.11", "vue-class-component": "^7.2.5", diff --git a/public/index.html b/public/index.html index 1acce97..e92841b 100644 --- a/public/index.html +++ b/public/index.html @@ -18,7 +18,9 @@ const firebaseConfig = { apiKey: "AIzaSyBI36X2-p7vU1flxoJdCEc0noByyTe1mpw", authDomain: "stacjownik-td2.firebaseapp.com", + databaseURL: "https://stacjownik-td2.firebaseio.com", projectId: "stacjownik-td2", + storageBucket: "stacjownik-td2.appspot.com", }; firebase.initializeApp(firebaseConfig); diff --git a/src/App.vue b/src/App.vue index ce6a817..e79a727 100644 --- a/src/App.vue +++ b/src/App.vue @@ -59,7 +59,7 @@ export default class App extends Vue { @Action("synchronizeData") synchronizeData; @Getter("getAllData") data; - private VERSION = "1.3.4"; + private VERSION = "1.3.5"; async mounted() { this.synchronizeData(); diff --git a/src/data/stationData.json b/src/data/stationData.json new file mode 100644 index 0000000..0f7b5db --- /dev/null +++ b/src/data/stationData.json @@ -0,0 +1 @@ +[["Blaszki","https://td2.info.pl/scenerie/blaszki/","",null,"10","NIE","współczesna","SPK","","",1,1,2,0,null,null,true,false,false],["LCS Borowe","https://td2.info.pl/scenerie/lcs-borowe/","",null,"10","NIE","współczesna","SCS","TAK","TAK",1,0,3,0,["Borowe, podg.","Wysoka, podg.","Naprawa, podg.","Borowe Towarowe"],["Borowe, podg.","Wysoka, podg.","Naprawa, podg.","Borowe Towarowe"],false,false,false],["LCS Gdańsk","https://td2.info.pl/scenerie/lcs-gdansk/","9, 202, 227, 249, 250",null,"10","NIE","współczesna","SCS","TAK","TAK",3,0,3,0,["Gdańsk Główny","SKM Śródmieście","Gdańsk Południowy"],["Gdańsk Główny"],true,false,false],["Lębork","https://td2.info.pl/scenerie/lebork-5834/","202, 229, 237",null,"8","NIE","współczesna","mechaniczne+SCS","","",2,2,0,0,null,null,true,false,false],["Grabów Miasto","https://td2.info.pl/scenerie/grabow-miasto-v2/","",null,"6","NIE","współczesna","SCS","","TAK",2,1,1,0,["Grabów Miasto","Grabów Wieś"],null,true,false,false],["Parzęczewo","https://td2.info.pl/scenerie/parzeczewo/","",null,"6","NIE","mieszana","SCS","TAK","TAK",1,0,2,0,["Parzęczewo","Parzęczewo Miasto","Parzęczewo gt"],null,true,false,false],["Aleksandrów Kujawski","https://td2.info.pl/scenerie/aleksandrow-kujawski/","18, 245",null,"4","NIE","współczesna","SCS-SPK","","TAK",1,0,2,0,null,null,true,false,false],["Arkadia Zdrój 2012","https://td2.info.pl/scenerie/arkadia-zdroj/","",null,"4","NIE","mieszana","mechaniczne+SPK","","",1,0,2,0,null,null,true,false,false],["Buk 2018","https://td2.info.pl/scenerie/buk2/","",null,"4","NIE","współczesna","SCS-SPK","","TAK",2,0,1,0,null,null,true,false,false],["Jordanowo","https://td2.info.pl/scenerie/jordanowo/","",null,"4","NIE","mieszana","mechaniczne","","",3,2,0,0,null,null,true,false,false],["LCS Głowno","https://td2.info.pl/scenerie/glowno-(linia-nr-15-lka)/","15","ŁKA","4","NIE","współczesna","SCS","","",2,0,0,0,["Głowno","Domaniewice"],["Głowno"],true,false,false],["LCS Ozorków","https://td2.info.pl/scenerie/lcs-ozorkow/","16","ŁKA","4","NIE","współczesna","SCS","","",2,0,0,0,["Ozorków","Chociszew"],["Ozorków"],true,false,false],["LCS Skrzynki","https://td2.info.pl/scenerie/lcs-skrzynki/","25","ŁKA","4","NIE","współczesna","SCS-SPK","","TAK",0,0,2,0,["Skrzynki","Wykno"],["Skrzynki"],true,false,false],["Łask","https://td2.info.pl/scenerie/lask-w-ramach-lka/","14","ŁKA","4","NIE","współczesna","mechaniczne+SCS","","",0,0,2,0,null,null,true,false,false],["Naterki","https://td2.info.pl/scenerie/naterki/","353",null,"4","NIE","kształtowa","mechaniczne+SCS","","",0,0,2,0,null,null,true,false,false],["Santok Zdrój","https://td2.info.pl/scenerie/santok-zdroj/","",null,"4","NIE","współczesna","SPK","","",2,0,0,0,null,null,true,false,false],["Testowo","https://td2.info.pl/scenerie/testowo-3581","",null,"4","NIE","współczesna","SPK","TAK (szlak Sl)","TAK",1,1,1,0,null,null,true,false,false],["Tłoki","https://td2.info.pl/scenerie/podg-tloki","",null,"4","NIE","współczesna","SCS-SPK","","TAK",1,0,2,0,null,["Tłoki, podg."],true,false,false],["Witaszyczki","https://td2.info.pl/scenerie/witaszyczki/","",null,"4","NIE","współczesna","SCS","","TAK",0,0,2,0,null,null,true,false,false],["Bydgowo","https://td2.info.pl/scenerie/bydgowo/","",null,"2","NIE","współczesna","SPK","TAK (szlak SK)","TAK",0,0,2,0,null,null,true,false,false],["Głębce","https://td2.info.pl/scenerie/glebce","",null,"2","NIE","współczesna","ręczne+SPK","","",1,0,0,0,null,null,true,false,false],["Hel","https://td2.info.pl/scenerie/hel/","213",null,"2","NIE","współczesna","SPK","","",0,1,0,0,null,null,true,false,false],["Kcynia","https://td2.info.pl/scenerie/kcynia","281, 356",null,"2","NIE","kształtowa","mechaniczne","","",0,4,0,0,null,null,true,false,false],["Lewków","https://td2.info.pl/scenerie/lewkow/","",null,"2","NIE","mieszana","mechaniczne+SCS","","TAK (szlak Ks)",0,0,2,0,null,null,true,false,false],["Cis 2013","https://td2.info.pl/scenerie/cis2","",null,"0","NIE","kształtowa","mechaniczne","","",2,0,0,0,null,null,true,false,false],["Cis 2018","https://td2.info.pl/scenerie/cis2","",null,"0","NIE","współczesna","SCS-SPK","","",2,0,0,0,null,null,true,false,false],["Glinnik","https://td2.info.pl/scenerie/glinnik-(projekt-lka)/","15","ŁKA","0","NIE","współczesna","SPK","","",2,0,0,0,null,null,true,false,false],["Głogowo","https://td2.info.pl/scenerie/glogowo","",null,"0","NIE","współczesna","SCS","","",0,2,0,0,null,null,true,false,false],["Karszynek","https://td2.info.pl/scenerie/karszynek/","",null,"0","NIE","historyczna","mechaniczne","","",0,0,2,0,null,null,true,false,false],["Imielin 2015","https://td2.info.pl/scenerie/imielin-2015","138",null,"0","NIE","współczesna","mechaniczne+SCS","","TAK",0,0,2,0,null,null,true,false,false],["Kolsko","https://td2.info.pl/scenerie/kolsko/","",null,"0","NIE","kształtowa","mechaniczne","","",0,3,0,0,null,null,true,false,false],["LCS Bucz Wileński","https://td2.info.pl/scenerie/bucz-wilenski/","",null,"0","NIE","współczesna","SCS","TAK","TAK",0,0,1,0,null,["Bucz Wileński"],true,false,false],["Lisiczki","https://td2.info.pl/scenerie/lisiczki","",null,"6","NIE","współczesna","SCS-SPK","","",2,0,0,0,null,null,true,false,false],["Łęczyca","https://td2.info.pl/scenerie/leczyca-projekt-lka/","16","ŁKA","0","NIE","współczesna","SPK","","",2,0,0,0,null,null,true,false,false],["Poreńsk","https://td2.info.pl/scenerie/porensk/","",null,"0","NIE","współczesna","SPK","","",2,0,0,0,null,null,true,false,false],["Radowice","https://td2.info.pl/scenerie/radowice","",null,"0","NIE","kształtowa","mechaniczne","","",0,2,0,0,null,null,true,false,false],["Witonia","https://td2.info.pl/scenerie/witonia-(projekt-lka)/","16","ŁKA","0","NIE","współczesna","SCS","","",2,0,0,0,null,null,true,false,false],["Wola","https://td2.info.pl/scenerie/wola/","",null,"0","NIE","mieszana","mechaniczne+SCS","","",0,0,2,0,null,null,true,false,false],["Zgierz Kontrewers","https://td2.info.pl/scenerie/zgierz-kontrewers-6172/","16","ŁKA","0","NIE","współczesna","SPK","","",2,0,0,0,null,null,true,false,false],["Bargowice","https://td2.info.pl/scenerie/bargowice-4441/","",null,"10","NIE","współczesna","SCS-SPK","","TAK",1,0,2,0,["Bargowice","Bargowice Zachód"],null,false,false,false],["Szklana Poręba","https://td2.info.pl/scenerie/szklana-poreba-gorna/","",null,"8","TAK","współczesna","mechaniczne","","",1,0,0,0,null,null,false,false,false],["Wschodna","https://td2.info.pl/scenerie/wschodna/","",null,"8","NIE","kształtowa","mechaniczne","","",1,0,2,0,null,null,false,false,false],["Zabłocie","https://td2.info.pl/scenerie/zablocie-3896","",null,"8","NIE","współczesna","SCS","","TAK",2,0,1,0,null,null,false,false,false],["Zdroje","https://td2.info.pl/scenerie/zdroje","",null,"8","NIE","kształtowa","mechaniczne","","",0,1,0,0,null,null,false,false,false],["Grzybowo","https://td2.info.pl/scenerie/grzybowo","",null,"6","NIE","kształtowa","mechaniczne","","",0,0,2,0,null,null,false,false,false],["Zwardoń","https://td2.info.pl/scenerie/zwardon-4161","139",null,"6","TAK","współczesna","SCS","","",2,0,0,0,null,null,false,false,false],["Piaskowo","https://td2.info.pl/scenerie/piaskowo/","",null,"4","NIE","współczesna","SCS","TAK","TAK",0,0,2,0,null,null,false,false,false],["Rajcza","https://td2.info.pl/scenerie/rajcza/","139",null,"4","NIE","współczesna","SPK","","",2,0,0,0,null,null,false,false,false],["Brzezinka","https://td2.info.pl/scenerie/brzezinka/","",null,"3","NIE","współczesna","SCS-SPK","","TAK (szlak KSG)",0,0,2,0,null,null,false,false,false],["Torzyn","https://td2.info.pl/scenerie/torzyn/","",null,"3","NIE","współczesna","SCS","TAK","TAK",0,0,2,0,null,null,false,false,false],["Wola Nowska","https://td2.info.pl/scenerie/wola-nowska//","",null,"3","NIE","współczesna","SPK","","TAK",1,0,2,0,null,null,false,false,false],["Chełmik Wołowski","https://td2.info.pl/scenerie/chelmik-wolowski//","",null,"2","NIE","współczesna","SPK","","TAK",1,0,2,0,null,null,false,false,false],["Drzewko","https://td2.info.pl/w-trakcie-prac/drzewko/","",null,"2","NIE","współczesna","SCS","","TAK",0,0,2,0,null,null,false,false,false],["Krzemienice","https://td2.info.pl/scenerie/krzemienice/","",null,"2","NIE","współczesna","SCS","","TAK",3,0,1,0,null,null,false,false,false],["Milówka","https://td2.info.pl/scenerie/milowka/","139",null,"2","NIE","współczesna","SPK","","",2,0,0,0,null,null,false,false,false],["Orniki","https://td2.info.pl/scenerie/orniki/","",null,"2","NIE","współczesna","SPK","","TAK",1,1,2,0,null,null,false,false,false],["Otwocko","https://td2.info.pl/scenerie/otwocko/","",null,"2","NIE","współczesna","SCS","","TAK",0,0,2,0,null,null,false,false,false],["Skostomłoty","https://td2.info.pl/w-trakcie-prac/skostomloty/","",null,"2","NIE","współczesna","mechaniczne","","TAK",0,0,2,0,null,null,false,false,false],["Babimost","https://td2.info.pl/scenerie/babimost","358",null,"0","NIE","współczesna","mechaniczne","","",2,0,0,0,null,null,false,false,false],["Czerepy","https://td2.info.pl/scenerie/czerepy/","",null,"0","NIE","współczesna","SPK","TAK (szlak BO)","TAK",0,0,2,0,null,null,false,false,false],["Grabiny","https://td2.info.pl/scenerie/grabiny","",null,"0","NIE","współczesna","mechaniczne","","",2,0,0,0,null,null,false,false,false],["Kieły","https://td2.info.pl/scenerie/kiely-6224/","",null,"0","NIE","kształtowa","mechaniczne","","",0,1,0,0,null,null,false,false,false],["Lutol Suchy","https://td2.info.pl/scenerie/lutol-suchy/","367",null,"0","NIE","współczesna","mechaniczne","","",0,2,0,0,null,null,false,false,false],["Raki","https://td2.info.pl/scenerie/raki/","",null,"0","NIE","kształtowa","mechaniczne","","",0,1,0,0,null,null,false,false,false],["Sieniawka","https://td2.info.pl/scenerie/sieniawka/","",null,"0","NIE","współczesna","mechaniczne","","",0,1,0,1,null,null,false,false,false],["Stefanowo","https://td2.info.pl/scenerie/stefanowo/","359",null,"0","NIE","kształtowa","mechaniczne","","",0,2,0,0,null,null,false,false,false],["Szlichtyngowa","https://td2.info.pl/scenerie/szlichtyngowa//","",null,"0","NIE","współczesna","SPK","","TAK",0,0,2,0,null,null,false,false,false],["Tarnowo Górne","https://td2.info.pl/scenerie/tarnowo-gorne/","",null,"0","NIE","kształtowa","mechaniczne","","",0,2,0,0,null,null,false,false,false],["Tartakowo 2013","https://td2.info.pl/w-trakcie-prac/tartakowo/","",null,"0","NIE","mieszana","mechaniczne","","",0,2,0,0,null,null,false,false,false],["Wielgowo","https://td2.info.pl/scenerie/wielgowo/","",null,"0","NIE","współczesna","SPK","","",0,2,0,0,null,null,false,false,false],["Sulechów","https://td2.info.pl/scenerie/sulechow/","358",null,"0","NIE","mieszana","SPK","","",2,1,0,0,null,null,false,false,false],["Wilczyca","https://td2.info.pl/scenerie/wilczyca/","",null,"0","NIE","współczesna","SCS","","",0,2,0,0,null,null,false,false,false],["Sowi Bór","https://td2.info.pl/scenerie/sowi-bor/","",null,"3","NIE","współczesna","SPK","","",0,0,2,0,null,null,false,false,false],["Sól","https://td2.info.pl/scenerie/sol/","139",null,"2","NIE","współczesna","SPK","","",2,0,0,0,null,null,false,false,false],["Hetmanice","https://td2.info.pl/scenerie/hetmanice-stacja-dla-poczatkujacych/","",null,"0","NIE","współczesna","SCS-SPK","","",0,0,2,0,null,null,false,false,false],["Starzynki","https://td2.info.pl/w-trakcie-prac/starzynki/","",null,"3","NIE","współczesna","SPK","TAK (Szlak Ps)","TAK",2,0,1,0,null,null,false,false,false],["Głęboszów","https://td2.info.pl/scenerie/gleboszow/","",null,"3","NIE","współczesna","SCS","TAK (Szlaki Br oraz GO)","TAK",1,0,2,0,null,null,false,false,false],["Skawce","https://td2.info.pl/w-trakcie-prac/skawce-(projekt-zakopianka)/","97",null,"4","NIE","współczesna","SPK","","",2,0,0,0,null,null,false,false,true],["Sroka","https://td2.info.pl/scenerie/sroka-projekt-1001/","",null,"7","NIE","współczesna","SCS","","TAK",1,0,3,0,["Sroka, podg.","Sroka Południe, podg."],["Sroka, podg."],false,false,false],["Luzino","https://td2.info.pl/scenerie/luzino-6501/","202",null,"3","NIE","współczesna","mechaniczne","","TAK",2,0,0,0,null,null,false,false,false],["Zajączkowo","https://td2.info.pl/scenerie/zajaczkowo/","",null,"0","NIE","kształtowa","mechaniczne","","",0,2,0,0,null,null,false,false,false],["Kudowa-Zdrój","https://td2.info.pl/scenerie/kudowa-zdroj-6616/","309",null,"4","NIE","współczesna","mechaniczne","","",0,1,0,0,null,null,false,false,false],["Ciechany","https://td2.info.pl/w-trakcie-prac/ciechany/","",null,"3","NIE","współczesna","SCS","","",1,0,0,0,null,["Pawonki"],false,false,false],["Czermin","https://td2.info.pl/scenerie/czermin/","",null,"8","NIE","współczesna","SCS","TAK (szlaki Łk i Fw)","",2,0,2,0,null,null,false,false,false],["Rebrowo Dolne","https://td2.info.pl/scenerie/rebrowo-dolne/","",null,"2","NIE","współczesna","SPK","","",3,0,0,0,null,null,false,false,false],["Lublinek","https://td2.info.pl/scenerie/lublinek-projekt-lka/","14",null,"0","NIE","współczesna","mechaniczne","","",0,0,2,0,null,null,true,false,false],["Stryków","https://td2.info.pl/scenerie/strykow-projekt-lka/","14",null,"0","NIE","współczesna","mechaniczne","","",2,0,0,0,null,null,true,false,false],["Strączki","https://td2.info.pl/scenerie/straczki/","",null,"4","NIE","współczesna","mechaniczne","","",1,0,1,0,null,null,false,false,false],["Niedoradz","https://td2.info.pl/scenerie/niedoradz","",null,"0","NIE","współczesna","SPK","","",0,0,2,0,null,null,false,false,false],["Zgierz","https://td2.info.pl/scenerie/zgierz/","15,16",null,"12","TAK","współczesna","mechaniczne","","",3,0,1,0,null,null,false,false,false],["Łebnino","https://td2.info.pl/scenerie/lebnino-4511/","",null,"0","NIE","kształtowa","mechaniczne","","",0,1,0,0,null,null,false,false,false],["Legno","https://td2.info.pl/scenerie/legno/","",null,"0","NIE","współczesna","SCS","TAK (szlak Mr)","TAK",0,0,2,0,null,null,false,false,false],["Buczek","https://td2.info.pl/scenerie/buczek/","",null,"0","NIE","współczesna","SCS","TAK","TAK",0,0,2,0,null,null,false,false,false],["Dziewoszyce","https://td2.info.pl/scenerie/dziewoszyce/","",null,"4","NIE","współczesna","SPK","","TAK",0,0,2,0,null,null,false,false,false],["Razemsko 2012","https://td2.info.pl/scenerie/razemsko-2012/","",null,"4","NIE","mieszana","mechaniczne","","",0,1,0,1,null,null,false,false,false],["Buskowo Zdrój","https://td2.info.pl/scenerie/buskowo-zdroj/","",null,"4","NIE","mieszana","mechaniczne","","",1,0,0,0,null,null,false,false,false],["Bełchów","https://td2.info.pl/scenerie/belchow-projekt-lka/","11","ŁKA","2","NIE","współczesna","SPK","","TAK",0,0,2,0,null,null,false,false,false],["Modlinków","https://td2.info.pl/scenerie/podg-modlinkow/","",null,"6","NIE","współczesna","SPK","","TAK",3,0,2,0,null,null,false,false,false],["Arkadia Zdrój 2019","https://td2.info.pl/scenerie/arkadia-zdroj-2016/","",null,"","NIE","współczesna","SCS","TAK (szlak wewn.)","TAK",1,0,2,0,null,null,false,true,false]] \ No newline at end of file diff --git a/src/data/stations.json b/src/data/stations.json deleted file mode 100644 index ea3a7d7..0000000 --- a/src/data/stations.json +++ /dev/null @@ -1,2269 +0,0 @@ -[ - { - "stationName": "Blaszki", - "stationURL": "https://td2.info.pl/scenerie/blaszki/", - "stationLines": "", - "stationProject": "", - "reqLevel": "10", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "LCS Borowe", - "stationURL": "https://td2.info.pl/scenerie/lcs-borowe/", - "stationLines": "", - "stationProject": "", - "reqLevel": "10", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 3, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false, - "subStations": ["Borowe, podg.", "Wysoka, podg.", "Naprawa, podg.", "Borowe Towarowe"], - "stops": ["Borowe, podg.", "Wysoka, podg.", "Naprawa, podg.", "Borowe Towarowe"] - }, - { - "stationName": "LCS Gdańsk", - "stationURL": "https://td2.info.pl/scenerie/lcs-gdansk/", - "stationLines": "9, 202, 227, 249, 250", - "stationProject": "", - "reqLevel": "10", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 3, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 3, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Gdańsk Główny", "SKM Śródmieście", "Gdańsk Południowy"], - "stops": ["Gdańsk Główny"] - }, - { - "stationName": "Lębork", - "stationURL": "https://td2.info.pl/scenerie/lebork-5834/", - "stationLines": "202, 229, 237", - "stationProject": "", - "reqLevel": "8", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Grabów Miasto", - "stationURL": "https://td2.info.pl/scenerie/grabow-miasto-v2/", - "stationLines": "", - "stationProject": "", - "reqLevel": "6", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Grabów Miasto", "Grabów Wieś"] - }, - { - "stationName": "Parzęczewo", - "stationURL": "https://td2.info.pl/scenerie/parzeczewo/", - "stationLines": "", - "stationProject": "", - "reqLevel": "6", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Parzęczewo", "Parzęczewo Miasto", "Parzęczewo gt"] - }, - { - "stationName": "Aleksandrów Kujawski", - "stationURL": "https://td2.info.pl/scenerie/aleksandrow-kujawski/", - "stationLines": "18, 245", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Arkadia Zdrój 2012", - "stationURL": "https://td2.info.pl/scenerie/arkadia-zdroj/", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne+SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Buk 2018", - "stationURL": "https://td2.info.pl/scenerie/buk2/", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Jordanowo", - "stationURL": "https://td2.info.pl/scenerie/jordanowo/", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 3, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "LCS Głowno", - "stationURL": "https://td2.info.pl/scenerie/glowno-(linia-nr-15-lka)/", - "stationLines": "15", - "stationProject": "ŁKA", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Głowno", "Domaniewice"], - "stops": ["Głowno"] - }, - { - "stationName": "LCS Ozorków", - "stationURL": "https://td2.info.pl/scenerie/lcs-ozorkow/", - "stationLines": "16", - "stationProject": "ŁKA", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Ozorków", "Chociszew"], - "stops": ["Ozorków"] - }, - { - "stationName": "LCS Skrzynki", - "stationURL": "https://td2.info.pl/scenerie/lcs-skrzynki/", - "stationLines": "25", - "stationProject": "ŁKA", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "subStations": ["Skrzynki", "Wykno"], - "stops": ["Skrzynki"] - }, - { - "stationName": "Łask", - "stationURL": "https://td2.info.pl/scenerie/lask-w-ramach-lka/", - "stationLines": "14", - "stationProject": "ŁKA", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Naterki", - "stationURL": "https://td2.info.pl/scenerie/naterki/", - "stationLines": "353", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Santok Zdrój", - "stationURL": "https://td2.info.pl/scenerie/santok-zdroj/", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Testowo", - "stationURL": "https://td2.info.pl/scenerie/testowo-3581", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "TAK (szlak Sl)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Tłoki", - "stationURL": "https://td2.info.pl/scenerie/podg-tloki", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "stops": ["Tłoki, podg."] - }, - { - "stationName": "Witaszyczki", - "stationURL": "https://td2.info.pl/scenerie/witaszyczki/", - "stationLines": "", - "stationProject": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Bydgowo", - "stationURL": "https://td2.info.pl/scenerie/bydgowo/", - "stationLines": "", - "stationProject": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "TAK (szlak SK)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Głębce", - "stationURL": "https://td2.info.pl/scenerie/glebce", - "stationLines": "", - "stationProject": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "ręczne+SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Hel", - "stationURL": "https://td2.info.pl/scenerie/hel/", - "stationLines": "213", - "stationProject": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Kcynia", - "stationURL": "https://td2.info.pl/scenerie/kcynia", - "stationLines": "281, 356", - "stationProject": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 4 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Lewków", - "stationURL": "https://td2.info.pl/scenerie/lewkow/", - "stationLines": "", - "stationProject": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "TAK (szlak Ks)", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Cis 2013", - "stationURL": "https://td2.info.pl/scenerie/cis2", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Cis 2018", - "stationURL": "https://td2.info.pl/scenerie/cis2", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Glinnik", - "stationURL": "https://td2.info.pl/scenerie/glinnik-(projekt-lka)/", - "stationLines": "15", - "stationProject": "ŁKA", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Głogowo", - "stationURL": "https://td2.info.pl/scenerie/glogowo", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Karszynek", - "stationURL": "https://td2.info.pl/scenerie/karszynek/", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "historyczna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Imielin 2015", - "stationURL": "https://td2.info.pl/scenerie/imielin-2015", - "stationLines": "138", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Kolsko", - "stationURL": "https://td2.info.pl/scenerie/kolsko/", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 3 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "LCS Bucz Wileński", - "stationURL": "https://td2.info.pl/scenerie/bucz-wilenski/", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false, - "stops": ["Bucz Wileński"] - }, - { - "stationName": "Lisiczki", - "stationURL": "https://td2.info.pl/scenerie/lisiczki", - "stationLines": "", - "stationProject": "", - "reqLevel": "6", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Łęczyca", - "stationURL": "https://td2.info.pl/scenerie/leczyca-projekt-lka/", - "stationLines": "16", - "stationProject": "ŁKA", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Poreńsk", - "stationURL": "https://td2.info.pl/scenerie/porensk/", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Radowice", - "stationURL": "https://td2.info.pl/scenerie/radowice", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Witonia", - "stationURL": "https://td2.info.pl/scenerie/witonia-(projekt-lka)/", - "stationLines": "16", - "stationProject": "ŁKA", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Wola", - "stationURL": "https://td2.info.pl/scenerie/wola/", - "stationLines": "", - "stationProject": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne+SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Zgierz Kontrewers", - "stationURL": "https://td2.info.pl/scenerie/zgierz-kontrewers-6172/", - "stationLines": "16", - "stationProject": "ŁKA", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Bargowice", - "stationURL": "https://td2.info.pl/scenerie/bargowice-4441/", - "stationLines": "", - "reqLevel": "10", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false, - "subStations": ["Bargowice", "Bargowice Zachód"] - }, - { - "stationName": "Szklana Poręba", - "stationURL": "https://td2.info.pl/scenerie/szklana-poreba-gorna/", - "stationLines": "", - "reqLevel": "8", - "supportersOnly": "TAK", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Wschodna", - "stationURL": "https://td2.info.pl/scenerie/wschodna/", - "stationLines": "", - "reqLevel": "8", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Zabłocie", - "stationURL": "https://td2.info.pl/scenerie/zablocie-3896", - "stationLines": "", - "reqLevel": "8", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Zdroje", - "stationURL": "https://td2.info.pl/scenerie/zdroje", - "stationLines": "", - "reqLevel": "8", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Grzybowo", - "stationURL": "https://td2.info.pl/scenerie/grzybowo", - "stationLines": "", - "reqLevel": "6", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Zwardoń", - "stationURL": "https://td2.info.pl/scenerie/zwardon-4161", - "stationLines": "139", - "reqLevel": "6", - "supportersOnly": "TAK", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Piaskowo", - "stationURL": "https://td2.info.pl/scenerie/piaskowo/", - "stationLines": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Rajcza", - "stationURL": "https://td2.info.pl/scenerie/rajcza/", - "stationLines": "139", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Brzezinka", - "stationURL": "https://td2.info.pl/scenerie/brzezinka/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "TAK (szlak KSG)", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Torzyn", - "stationURL": "https://td2.info.pl/scenerie/torzyn/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Wola Nowska", - "stationURL": "https://td2.info.pl/scenerie/wola-nowska//", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Chełmik Wołowski", - "stationURL": "https://td2.info.pl/scenerie/chelmik-wolowski//", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Drzewko", - "stationURL": "https://td2.info.pl/w-trakcie-prac/drzewko/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Krzemienice", - "stationURL": "https://td2.info.pl/scenerie/krzemienice/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 3, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Milówka", - "stationURL": "https://td2.info.pl/scenerie/milowka/", - "stationLines": "139", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Orniki", - "stationURL": "https://td2.info.pl/scenerie/orniki/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Otwocko", - "stationURL": "https://td2.info.pl/scenerie/otwocko/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Skostomłoty", - "stationURL": "https://td2.info.pl/w-trakcie-prac/skostomloty/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Babimost", - "stationURL": "https://td2.info.pl/scenerie/babimost", - "stationLines": "358", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Czerepy", - "stationURL": "https://td2.info.pl/scenerie/czerepy/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "TAK (szlak BO)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Grabiny", - "stationURL": "https://td2.info.pl/scenerie/grabiny", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Kieły", - "stationURL": "https://td2.info.pl/scenerie/kiely-6224/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Lutol Suchy", - "stationURL": "https://td2.info.pl/scenerie/lutol-suchy/", - "stationLines": "367", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Raki", - "stationURL": "https://td2.info.pl/scenerie/raki/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Sieniawka", - "stationURL": "https://td2.info.pl/scenerie/sieniawka/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 1 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Stefanowo", - "stationURL": "https://td2.info.pl/scenerie/stefanowo/", - "stationLines": "359", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Szlichtyngowa", - "stationURL": "https://td2.info.pl/scenerie/szlichtyngowa//", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Tarnowo Górne", - "stationURL": "https://td2.info.pl/scenerie/tarnowo-gorne/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Tartakowo 2013", - "stationURL": "https://td2.info.pl/w-trakcie-prac/tartakowo/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Wielgowo", - "stationURL": "https://td2.info.pl/scenerie/wielgowo/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Sulechów", - "stationURL": "https://td2.info.pl/scenerie/sulechow/", - "stationLines": "358", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Wilczyca", - "stationURL": "https://td2.info.pl/scenerie/wilczyca/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Sowi Bór", - "stationURL": "https://td2.info.pl/scenerie/sowi-bor/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Sól", - "stationURL": "https://td2.info.pl/scenerie/sol/", - "stationLines": "139", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Hetmanice", - "stationURL": "https://td2.info.pl/scenerie/hetmanice-stacja-dla-poczatkujacych/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS-SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Starzynki", - "stationURL": "https://td2.info.pl/w-trakcie-prac/starzynki/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "TAK (Szlak Ps)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Głęboszów", - "stationURL": "https://td2.info.pl/scenerie/gleboszow/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK (Szlaki Br oraz GO)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Skawce", - "stationURL": "https://td2.info.pl/w-trakcie-prac/skawce-(projekt-zakopianka)/", - "stationLines": "97", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false, - "unavailable": true - }, - { - "stationName": "Sroka", - "stationURL": "https://td2.info.pl/scenerie/sroka-projekt-1001/", - "stationLines": "", - "reqLevel": "7", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 3, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false, - "subStations": ["Sroka, podg.", "Sroka Południe, podg."], - "stops": ["Sroka, podg."] - }, - { - "stationName": "Luzino", - "stationURL": "https://td2.info.pl/scenerie/luzino-6501/", - "stationLines": "202", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Zajączkowo", - "stationURL": "https://td2.info.pl/scenerie/zajaczkowo/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 2 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Kudowa-Zdrój", - "stationURL": "https://td2.info.pl/scenerie/kudowa-zdroj-6616/", - "stationLines": "309", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Ciechany", - "stationURL": "https://td2.info.pl/w-trakcie-prac/ciechany/", - "stationLines": "", - "reqLevel": "3", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false, - "stops": ["Pawonki"] - }, - { - "stationName": "Czermin", - "stationURL": "https://td2.info.pl/scenerie/czermin/", - "stationLines": "", - "reqLevel": "8", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK (szlaki Łk i Fw)", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Rebrowo Dolne", - "stationURL": "https://td2.info.pl/scenerie/rebrowo-dolne/", - "stationLines": "", - "reqLevel": "2", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 3, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Lublinek", - "stationURL": "https://td2.info.pl/scenerie/lublinek-projekt-lka/", - "stationLines": "14", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Stryków", - "stationURL": "https://td2.info.pl/scenerie/strykow-projekt-lka/", - "stationLines": "14", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 2, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": true, - "nonPublic": false - }, - { - "stationName": "Strączki", - "stationURL": "https://td2.info.pl/scenerie/straczki/", - "stationLines": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Niedoradz", - "stationURL": "https://td2.info.pl/scenerie/niedoradz", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Zgierz", - "stationURL": "https://td2.info.pl/scenerie/zgierz/", - "stationLines": "15,16", - "reqLevel": "12", - "supportersOnly": "TAK", - "signalType": "współczesna", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 3, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 1, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Łebnino", - "stationURL": "https://td2.info.pl/scenerie/lebnino-4511/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "kształtowa", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Legno", - "stationURL": "https://td2.info.pl/scenerie/legno/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK (szlak Mr)", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Buczek", - "stationURL": "https://td2.info.pl/scenerie/buczek/", - "stationLines": "", - "reqLevel": "0", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SCS", - "SBL": "TAK", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Dziewoszyce", - "stationURL": "https://td2.info.pl/scenerie/dziewoszyce/", - "stationLines": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "współczesna", - "controlType": "SPK", - "SBL": "", - "twoWayBlock": "TAK", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 2, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - }, - - { - "stationName": "Razemsko 2012", - "stationURL": "https://td2.info.pl/scenerie/razemsko-2012/", - "stationLines": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 0, - "noCatenary": 1 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 1 - } - }, - "default": false, - "nonPublic": false - }, - { - "stationName": "Buskowo Zdrój", - "stationURL": "https://td2.info.pl/scenerie/buskowo-zdroj/", - "stationLines": "", - "reqLevel": "4", - "supportersOnly": "NIE", - "signalType": "mieszana", - "controlType": "mechaniczne", - "SBL": "", - "twoWayBlock": "", - "routes": { - "oneWay": { - "catenary": 1, - "noCatenary": 0 - }, - "twoWay": { - "catenary": 0, - "noCatenary": 0 - } - }, - "default": false, - "nonPublic": false - } -] diff --git a/src/firebase/config.ts b/src/firebase/config.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/scripts/interfaces/Station.ts b/src/scripts/interfaces/Station.ts index 84fc079..fa129b0 100644 --- a/src/scripts/interfaces/Station.ts +++ b/src/scripts/interfaces/Station.ts @@ -23,10 +23,14 @@ export default interface Station { reqLevel: string; supportersOnly: string; + SBL: string; + TWB: string; signalType: string; controlType: string; + default: boolean; nonPublic: boolean; + unavailable: boolean; routes: { oneWay: { catenary: number; noCatenary: number }; @@ -40,6 +44,8 @@ export default interface Station { }[] | null; + stops: string[] | null; + online: boolean; occupiedTo: string; statusTimestamp: number; diff --git a/src/store/store.ts b/src/store/store.ts index e0d8544..a543b62 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -1,7 +1,7 @@ import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators'; import axios from 'axios'; -import JSONStationData from '@/data/stations.json'; +import JSONStationData from '@/data/stationData.json'; import Station from '@/scripts/interfaces/Station'; import Train from '@/scripts/interfaces/Train'; @@ -310,9 +310,56 @@ export default class Store extends VuexModule { } @Mutation setJSONData() { - this.stationList = JSONStationData.map(stationData => ({ - ...stationData, - stationProject: '', + /* + 0: stationName, + 1: stationURL, + 2: stationlines, + 3: stationProject?, + 4: reqLevel, + 5: supportersOnly, + 6: signalType, + 7: controlType, + 8: SBL, + 9: two-way block, + 10: routes, one-way, catenary, + 11: routes, one-way, no catenary, + 12: routes, two-way, catenary, + 13: routes, two-way, no catenary, + 14: subStations?, + 15: stops?, + 16: default, + 17: nonPublic, + 18: unavailable + */ + + this.stationList = JSONStationData.map(station => ({ + stationName: station[0] as string, + stationURL: station[1] as string, + stationLines: station[2] as string, + stationProject: station[3] as string, + reqLevel: station[4] as string, + supportersOnly: station[5] as string, + signalType: station[6] as string, + controlType: station[7] as string, + SBL: station[8] as string, + TWB: station[9] as string, + routes: { + oneWay: { + catenary: station[10] as number, + noCatenary: station[11] as number, + }, + twoWay: { + catenary: station[12] as number, + noCatenary: station[13] as number, + }, + }, + checkpoints: station[14] ? (station[14] as string[]).map(sub => ({ checkpointName: sub, scheduledTrains: [] })) : null, + stops: station[15] as string[], + + default: station[16] as boolean, + nonPublic: station[17] as boolean, + unavailable: station[18] as boolean, + stationHash: '', maxUsers: 0, currentUsers: 0, @@ -327,7 +374,6 @@ export default class Store extends VuexModule { stationTrains: [], scheduledTrains: [], spawns: [], - checkpoints: stationData.subStations ? stationData.subStations.map(sub => ({ checkpointName: sub, scheduledTrains: [] })) : null, })); } @@ -335,7 +381,7 @@ export default class Store extends VuexModule { private updateOnlineStations(updatedStationList: any[]) { this.stationList = this.stationList.reduce((acc, station) => { const onlineStationData = updatedStationList.find(updatedStation => updatedStation.stationName === station.stationName); - const registeredStation = JSONStationData.find(data => data.stationName === station.stationName); + const registeredStation = JSONStationData.find(data => data[0] === station.stationName); if (onlineStationData) acc.push({ @@ -417,7 +463,7 @@ export default class Store extends VuexModule { if (stationName.includes(stopName) && !stop.stopName.includes('po.') && !stop.stopName.includes('podg.')) return true; if (stopName.includes('podg.') && stopName.split(', podg.')[0] && stationName === stopName.split(', podg.')[0]) return true; - if (JSONStationData.some(data => data.stationName.includes(station.stationName) && data.stops && data.stops.includes(stop.stopNameRAW))) return true; + if (station.stops && station.stops.includes(stop.stopNameRAW)) return true; return false; });