commit | author | age
|
bcd661
|
1 |
<?php |
JK |
2 |
class TramTypes extends VehicleTypes { |
|
3 |
public function __construct() { |
|
4 |
$data = <<<'END' |
|
5 |
101 107 HW E1 0 |
|
6 |
108 113 RW E1 0 |
|
7 |
114 126 HW E1 0 |
|
8 |
127 127 RW E1 0 |
|
9 |
128 130 HW E1 0 |
|
10 |
131 132 RW E1 0 |
|
11 |
133 133 HW E1 0 |
|
12 |
134 134 RW E1 0 |
|
13 |
135 136 HW E1 0 |
|
14 |
137 139 RW E1 0 |
|
15 |
140 147 HW E1 0 |
|
16 |
148 150 RW E1 0 |
|
17 |
151 152 HW E1 0 |
|
18 |
153 153 RW E1 0 |
|
19 |
154 154 HW E1 0 |
|
20 |
155 155 RW E1 0 |
|
21 |
156 158 HW E1 0 |
|
22 |
159 159 RW E1 0 |
|
23 |
160 174 HW E1 0 |
64d9dc
|
24 |
201 206 RZ 105N 0 |
JK |
25 |
207 208 HZ 105N 0 |
|
26 |
209 245 RZ 105N 0 |
bcd661
|
27 |
246 299 HZ 105N 0 |
d372fc
|
28 |
301 306 RF GT8S 0 |
JK |
29 |
307 309 RF GT8N 1 |
|
30 |
310 311 RF GT8C 1 |
|
31 |
312 312 RF GT8N 1 |
bcd661
|
32 |
313 313 RF GT8C 1 |
ccf3da
|
33 |
314 329 RF GT8N 1 |
bcd661
|
34 |
401 440 HL EU8N 1 |
JK |
35 |
451 456 HK N8C-NF 1 |
|
36 |
457 461 HK N8S-NF 1 |
|
37 |
462 462 HK N8C-NF 1 |
|
38 |
601 614 RP NGT6 (1) 2 |
|
39 |
615 626 RP NGT6 (2) 2 |
|
40 |
627 650 RP NGT6 (3) 2 |
|
41 |
801 824 RY NGT8 2 |
bf4b8f
|
42 |
825 839 RY Stadler Tango 2 |
JK |
43 |
840 859 HY Stadler Tango 2 |
bcd661
|
44 |
899 899 RY 126N 2 |
JK |
45 |
901 914 RG 2014N 2 |
|
46 |
915 936 HG 2014N 2 |
|
47 |
999 999 HG 405N 1 |
|
48 |
END; |
|
49 |
parent::__construct($data); |
|
50 |
} |
325518
|
51 |
|
JK |
52 |
public function getByNumber($id) { |
|
53 |
if($id == 312) { |
|
54 |
$id = 316; |
|
55 |
} |
|
56 |
return parent::getByNumber($id); |
|
57 |
} |
bcd661
|
58 |
} |