AbstractEfaProvider: 'IR75' line.

This commit is contained in:
Andreas Schildbach 2019-06-18 14:39:49 +02:00
parent 40b4a8a74e
commit 9f8b565f0c

View file

@ -977,6 +977,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
if ("IR".equals(trainType) || "Interregio".equals(trainName) || "InterRegio".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, "IR" + trainNum);
if ("IR75".equals(trainNum) && trainName == null)
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
if ("IRE".equals(trainType) || "Interregio-Express".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, "IRE" + trainNum);
if ("IRE1".equals(trainNum) && trainName == null)