mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Lines.
This commit is contained in:
parent
9d18f36fa9
commit
6c1ee94b91
5 changed files with 26 additions and 6 deletions
|
@ -1468,6 +1468,11 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
{
|
||||
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)
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
||||
}
|
||||
else if ("17".equals(mot))
|
||||
{
|
||||
if (trainNum == null && "Schienenersatzverkeh".equals(trainName))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue