mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
AbstractEfaProvider: Unify handling of mot 13.
This commit is contained in:
parent
e12aa6e684
commit
04f70e03b3
3 changed files with 1 additions and 16 deletions
|
@ -1423,7 +1423,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
} else if ("11".equals(mot)) {
|
||||
return new Line(id, network, null, ParserUtils.firstNotEmpty(symbol, name));
|
||||
} else if ("13".equals(mot)) {
|
||||
if (("S-Bahn".equals(trainName) || (longName != null && longName.startsWith("S-Bahn"))) && symbol != null)
|
||||
if (symbol != null)
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
||||
} else if ("17".equals(mot)) {
|
||||
if (trainNum == null && trainName != null && trainName.startsWith("Schienenersatz"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue