From 86e6f6d9c9c0340d32fb9fbf93fdc938bef75bcf Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 20 Jun 2021 20:01:20 +0000 Subject: [PATCH] Update bus types: DN001, PA100-PA101, BR564-BR568, PR767-PR768, PR777 --- lib/TramTypes.php | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/lib/TramTypes.php b/lib/TramTypes.php index a1cdedb..e91b9f2 100644 --- a/lib/TramTypes.php +++ b/lib/TramTypes.php @@ -21,14 +21,16 @@ 156 158 HW E1 0 159 159 RW E1 0 160 174 HW E1 0 -201 245 RZ 105N 0 +201 206 RZ 105N 0 +207 208 HZ 105N 0 +209 245 RZ 105N 0 246 299 HZ 105N 0 -301 310 RF GT8S 0 -311 312 RF GT8N 1 +301 304 RF GT8S 0 +305 309 RF GT8N 1 +310 311 RF GT8C 1 +312 312 RF GT8N 1 313 313 RF GT8C 1 -314 315 RF GT8N 1 -316 316 RF GT8S 0 -317 329 RF GT8N 1 +314 329 RF GT8N 1 401 440 HL EU8N 1 451 456 HK N8C-NF 1 457 461 HK N8S-NF 1 @@ -37,7 +39,8 @@ 615 626 RP NGT6 (2) 2 627 650 RP NGT6 (3) 2 801 824 RY NGT8 2 -825 859 RY Stadler Tango 2 +825 839 RY Stadler Tango 2 +840 874 HY Stadler Tango 2 899 899 RY 126N 2 901 914 RG 2014N 2 915 936 HG 2014N 2 @@ -45,4 +48,11 @@ END; parent::__construct($data); } + + public function getByNumber($id) { + if($id == 312) { + $id = 316; + } + return parent::getByNumber($id); + } } -- Gitblit v1.9.1