AbstractEfaProvider: Handle mot 14 (alternative high-speed trains).

This commit is contained in:
Andreas Schildbach 2020-10-26 19:11:38 +01:00
parent 25c10a16fe
commit 2b2620c8ed

View file

@ -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)) {