mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
AbstractEfaProvider: Move 'RE5 (RRX)' and 'RE11 (RRX)' lines to here.
This commit is contained in:
parent
b8d1d5b6d7
commit
fbb0d374d8
3 changed files with 4 additions and 6 deletions
|
@ -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))
|
||||
|
|
|
@ -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 "))
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue