mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
AbstractEfaProvider: 'RS' line
This commit is contained in:
parent
76dfc20996
commit
b332fbc067
1 changed files with 2 additions and 0 deletions
|
@ -1354,6 +1354,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
return new Line(id, network, Product.SUBURBAN_TRAIN, "S" + trainNum);
|
||||
if ("S-Bahn".equals(trainName))
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, "S" + trainNumStr);
|
||||
if ("RS".equals(trainType) && trainNum != null) // Regio S-Bahn
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, "RS" + trainNum);
|
||||
|
||||
if ("RT".equals(trainType) || "RegioTram".equals(trainName))
|
||||
return new Line(id, network, Product.TRAM, "RT" + trainNum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue