mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
AbstractEfaProvider: Match more mot='13'.
This commit is contained in:
parent
7c1fd06971
commit
779cb9aa7c
1 changed files with 2 additions and 2 deletions
|
@ -1421,8 +1421,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
} else if ("13".equals(mot)) {
|
||||
if (("SEV".equals(trainName) || "Ersatzverkehr".equals(trainName)) && trainType == null)
|
||||
return new Line(id, network, Product.BUS, "SEV");
|
||||
if (trainType == null && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
if (trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, Strings.nullToEmpty(trainType) + trainNum);
|
||||
} else if ("14".equals(mot) || "15".equals(mot) || "16".equals(mot)) {
|
||||
if (trainType != null && trainNum != null)
|
||||
return new Line(id, network, Product.HIGH_SPEED_TRAIN, trainType + trainNum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue