mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
AbstractEfaProvider: Handle mot 13 (regional train).
This commit is contained in:
parent
e3b5257207
commit
76743cd12a
1 changed files with 2 additions and 2 deletions
|
@ -1424,8 +1424,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
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);
|
||||
if (trainType == null && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
} else if ("17".equals(mot)) {
|
||||
if (trainNum == null && trainName != null && trainName.startsWith("Schienenersatz"))
|
||||
return new Line(id, network, Product.BUS, "SEV");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue