Add Platform, Pass, Arrline, and depline to stopDetail
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
1f0a39adc6
commit
f02ae3c7cd
2096
package-lock.json
generated
2096
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -74,6 +74,22 @@ function formatStopTimes(stop: Stop): OB_TrainTT_stopDetail {
|
|||||||
if (stop.wttDeparture) {
|
if (stop.wttDeparture) {
|
||||||
formattedStop.wttDeparture = stop.wttDeparture;
|
formattedStop.wttDeparture = stop.wttDeparture;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stop.platform) {
|
||||||
|
formattedStop.platform = stop.platform;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (stop.pass) {
|
||||||
|
formattedStop.pass = stop.pass;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (stop.arrLine) {
|
||||||
|
formattedStop.arrLine = stop.arrLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (stop.depLine) {
|
||||||
|
formattedStop.depLine = stop.depLine;
|
||||||
|
}
|
||||||
return formattedStop;
|
return formattedStop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user