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 |
|
24 |
201 245 RZ 105N 0 |
|
25 |
246 299 HZ 105N 0 |
|
26 |
301 310 RF GT8S 0 |
|
27 |
311 311 RF GT8N 1 |
|
28 |
312 312 RF GT8S 0 |
|
29 |
313 313 RF GT8C 1 |
acdfe9
|
30 |
314 316 RF GT8S 0 |
JK |
31 |
317 329 RF GT8N 1 |
bcd661
|
32 |
401 440 HL EU8N 1 |
JK |
33 |
451 456 HK N8C-NF 1 |
|
34 |
457 461 HK N8S-NF 1 |
|
35 |
462 462 HK N8C-NF 1 |
|
36 |
601 614 RP NGT6 (1) 2 |
|
37 |
615 626 RP NGT6 (2) 2 |
|
38 |
627 650 RP NGT6 (3) 2 |
|
39 |
801 824 RY NGT8 2 |
|
40 |
899 899 RY 126N 2 |
|
41 |
901 914 RG 2014N 2 |
|
42 |
915 936 HG 2014N 2 |
|
43 |
999 999 HG 405N 1 |
|
44 |
END; |
|
45 |
parent::__construct($data); |
|
46 |
} |
|
47 |
|
|
48 |
public function getByNumber($id) { |
|
49 |
if((int)$id == 250) { |
|
50 |
$id = 410; |
|
51 |
} |
|
52 |
return parent::getByNumber($id); |
|
53 |
} |
|
54 |
} |