From f3347731a2850f36256206f02bb790371ff5273e Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 8 Nov 2020 16:45:29 +0100 Subject: [PATCH] =?UTF-8?q?Zaktualizowano=20list=C4=99=20scenerii?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/stations.json | 23 +++++++++++++++++++++++ src/store/store.ts | 1 + 2 files changed, 24 insertions(+) diff --git a/src/data/stations.json b/src/data/stations.json index 521635f..fcadc49 100644 --- a/src/data/stations.json +++ b/src/data/stations.json @@ -1957,5 +1957,28 @@ "default": false, "nonPublic": false, "stops": ["Pawonki"] + }, + { + "stationName": "Czermin", + "stationURL": "https://td2.info.pl/scenerie/czermin/", + "stationLines": "", + "reqLevel": "6", + "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": true } ] diff --git a/src/store/store.ts b/src/store/store.ts index b19ef27..4e3b3ab 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -395,6 +395,7 @@ export default class Store extends VuexModule { if (stopInfo.terminatesHere && stopInfo.confirmed) { stopStatus = "terminated"; stopLabel = "Skończył bieg" } else if (!stopInfo.terminatesHere && stopInfo.confirmed) { stopStatus = "departed"; stopLabel = "Odprawiony" } + // else if (timetableData.currentStationName == station.stationName && stopInfo.beginsHere ) { stopStatus = "online"; stopLabel = "Podstawia się" } else if (timetableData.currentStationName == station.stationName && !stopInfo.stopped) { stopStatus = "online"; stopLabel = "Na stacji" } else if (timetableData.currentStationName == station.stationName && stopInfo.stopped) { stopStatus = "stopped"; stopLabel = "Postój" } else if (timetableData.currentStationName != station.stationName) { stopStatus = "arriving"; stopLabel = "W drodze" }