AbstractEfaProvider: 'MRB26' line.

This commit is contained in:
Andreas Schildbach 2018-11-28 14:57:14 +01:00
parent 64a336d38e
commit ea652f30cc
2 changed files with 2 additions and 2 deletions

View file

@ -1097,6 +1097,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
return new Line(id, network, Product.REGIONAL_TRAIN, "MR" + trainNum);
if ("MRB".equals(trainType) || "Mitteldeutsche Regiobahn".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, "MRB" + trainNum);
if ("MRB26".equals(trainNum) && trainType == null)
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
if ("ABR".equals(trainType) || "ABELLIO Rail NRW GmbH".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, "ABR" + trainNum);
if ("NEB".equals(trainType) || "NEB Niederbarnimer Eisenbahn".equals(trainName))

View file

@ -79,8 +79,6 @@ public class VrrProvider extends AbstractEfaProvider {
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if ("NordWestBahn".equals(trainName) && symbol != null)
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if ("MRB26".equals(trainNum) && trainType == null)
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
if (trainType == null && "SEV7".equals(trainNum))
return new Line(id, network, Product.BUS, trainNum);