mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 04:29:50 +00:00
AbstractEfaProvider: Handle mot 15 and 16 (IC/ICE/EC).
This commit is contained in:
parent
76743cd12a
commit
23a08407b9
1 changed files with 3 additions and 0 deletions
|
@ -1426,6 +1426,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
} else if ("13".equals(mot)) {
|
||||
if (trainType == null && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
} else if ("15".equals(mot) || "16".equals(mot)) {
|
||||
if (trainType != null && trainNum != null)
|
||||
return new Line(id, network, Product.HIGH_SPEED_TRAIN, trainType + trainNum);
|
||||
} else if ("17".equals(mot)) {
|
||||
if (trainNum == null && trainName != null && trainName.startsWith("Schienenersatz"))
|
||||
return new Line(id, network, Product.BUS, "SEV");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue