mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
AbstractEfaProvider: Handle mot 13 'Ersatzverkehr'.
This commit is contained in:
parent
a1c8b1caa1
commit
25c10a16fe
1 changed files with 2 additions and 0 deletions
|
@ -1424,6 +1424,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
if ("Schulbus".equals(trainName) && symbol != null)
|
if ("Schulbus".equals(trainName) && symbol != null)
|
||||||
return new Line(id, network, Product.BUS, symbol);
|
return new Line(id, network, Product.BUS, symbol);
|
||||||
} else if ("13".equals(mot)) {
|
} else if ("13".equals(mot)) {
|
||||||
|
if ("Ersatzverkehr".equals(trainName) && trainType == null)
|
||||||
|
return new Line(id, network, Product.BUS, "SEV");
|
||||||
if (trainType == null && trainNum != null)
|
if (trainType == null && trainNum != null)
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||||
} else if ("15".equals(mot) || "16".equals(mot)) {
|
} else if ("15".equals(mot) || "16".equals(mot)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue