mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 00:08:49 +00:00
AbstractEfaProvider: 'FEX' line
This commit is contained in:
parent
3541ab1c8b
commit
3c953a696c
1 changed files with 2 additions and 0 deletions
|
@ -1335,6 +1335,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
|
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
|
||||||
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(trainNum))
|
||||||
|
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX");
|
||||||
if (("FEX".equals(trainType) || "Flughafen-Express".equals(trainName)) && trainNum != null)
|
if (("FEX".equals(trainType) || "Flughafen-Express".equals(trainName)) && trainNum != null)
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX" + trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX" + trainNum);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue