AbstractEfaProvider: Move 'RE5 (RRX)' and 'RE11 (RRX)' lines to here.

This commit is contained in:
Andreas Schildbach 2019-10-25 21:53:25 +02:00
parent b8d1d5b6d7
commit fbb0d374d8
3 changed files with 4 additions and 6 deletions

View file

@ -997,6 +997,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if ("R-Bahn".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if ("RE5 (RRX)".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "RE5");
if ("RE11 (RRX)".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "RE11");
if ("RB-Bahn".equals(trainName))
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if (trainType == null && "RB67/71".equals(trainNum))

View file

@ -52,8 +52,6 @@ public class VrnProvider extends AbstractEfaProvider {
if ("0".equals(mot)) {
if ("InterRegio".equals(longName) && symbol == null)
return new Line(id, network, Product.REGIONAL_TRAIN, "IR");
if ("RE11 (RRX)".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "RE11");
}
if (name != null && name.startsWith("RNV Moonliner "))

View file

@ -78,10 +78,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 ("RE5 (RRX)".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "RE5");
if ("RE11 (RRX)".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "RE11");
if (trainType == null && "SEV7".equals(trainNum))
return new Line(id, network, Product.BUS, trainNum);