mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
AbstractEfaProvider: Handle mot 12 (Schulbus).
This commit is contained in:
parent
918dcc44bb
commit
e3b5257207
1 changed files with 3 additions and 0 deletions
|
@ -1420,6 +1420,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
return new Line(id, network, Product.FERRY, name);
|
||||
} else if ("11".equals(mot)) {
|
||||
return new Line(id, network, null, ParserUtils.firstNotEmpty(symbol, name));
|
||||
} else if ("12".equals(mot)) {
|
||||
if ("Schulbus".equals(trainName) && symbol != null)
|
||||
return new Line(id, network, Product.BUS, symbol);
|
||||
} else if ("13".equals(mot)) {
|
||||
if (symbol != null)
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue