mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
AbstractEfaProvider: 'FEX' line
This commit is contained in:
parent
6c1f9926d8
commit
f6fae7ba11
1 changed files with 2 additions and 0 deletions
|
@ -1325,6 +1325,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "SAB" + trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "SAB" + trainNum);
|
||||||
if (trainType == null && trainNum != null && P_LINE_MEX.matcher(trainNum).matches()) // Metropolexpress
|
if (trainType == null && trainNum != null && P_LINE_MEX.matcher(trainNum).matches()) // Metropolexpress
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||||
|
if (("FEX".equals(trainType) || "Flughafen-Express".equals(trainName)) && trainNum != null)
|
||||||
|
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX" + trainNum);
|
||||||
|
|
||||||
if (("BSB".equals(trainType) || "Breisgau-S-Bahn Gmbh".equals(trainName)) && trainNum != null)
|
if (("BSB".equals(trainType) || "Breisgau-S-Bahn Gmbh".equals(trainName)) && trainNum != null)
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "BSB" + trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "BSB" + trainNum);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue