mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 22:58:49 +00:00
AbstractEfaProvider: Handle mot 14 (alternative high-speed trains).
This commit is contained in:
parent
25c10a16fe
commit
2b2620c8ed
1 changed files with 1 additions and 1 deletions
|
@ -1428,7 +1428,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
return new Line(id, network, Product.BUS, "SEV");
|
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 ("14".equals(mot) || "15".equals(mot) || "16".equals(mot)) {
|
||||||
if (trainType != null && trainNum != null)
|
if (trainType != null && trainNum != null)
|
||||||
return new Line(id, network, Product.HIGH_SPEED_TRAIN, trainType + trainNum);
|
return new Line(id, network, Product.HIGH_SPEED_TRAIN, trainType + trainNum);
|
||||||
} else if ("17".equals(mot)) {
|
} else if ("17".equals(mot)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue