mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 08:58:48 +00:00
AbstractEfaProvider: 'MEX' line
This commit is contained in:
parent
693d84e340
commit
58a51a97f5
1 changed files with 2 additions and 0 deletions
|
@ -1323,6 +1323,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
return new Line(id, network, Product.REGIONAL_TRAIN, "DNA");
|
||||
if (("SAB".equals(trainType) || "Schwäbische Alb-Bahn".equals(trainName)) && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "SAB" + trainNum);
|
||||
if (symbol != null && P_LINE_MEX.matcher(symbol).matches()) // Metropolexpress
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
|
||||
if (trainType == null && trainNum != null && P_LINE_MEX.matcher(trainNum).matches()) // Metropolexpress
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
if (("FEX".equals(trainType) || "Flughafen-Express".equals(trainName)) && trainNum != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue