mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 02:59:52 +00:00
lines
This commit is contained in:
parent
9f71d1bc3e
commit
7adae3ee55
2 changed files with 4 additions and 5 deletions
|
@ -1245,6 +1245,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
||||||
return 'R' + type;
|
return 'R' + type;
|
||||||
if ("RR".equals(type)) // RR 371 Horehronec / RR 404 Vltava / RR 922 Josef Skupa
|
if ("RR".equals(type)) // RR 371 Horehronec / RR 404 Vltava / RR 922 Josef Skupa
|
||||||
return 'R' + type;
|
return 'R' + type;
|
||||||
|
if ("ZAB1/766".equals(type))
|
||||||
|
return "R" + name;
|
||||||
|
if ("ZAB2/768".equals(type))
|
||||||
|
return "R" + name;
|
||||||
|
|
||||||
if ("BSB".equals(type)) // Breisgau-S-Bahn
|
if ("BSB".equals(type)) // Breisgau-S-Bahn
|
||||||
return 'S' + str;
|
return 'S' + str;
|
||||||
|
|
|
@ -59,11 +59,6 @@ public class NaldoProvider extends AbstractEfaProvider
|
||||||
@Override
|
@Override
|
||||||
protected String parseLine(final String mot, final String name, final String longName, final String noTrainName)
|
protected String parseLine(final String mot, final String name, final String longName, final String noTrainName)
|
||||||
{
|
{
|
||||||
if ("ZAB1/766".equals(name))
|
|
||||||
return "R" + name;
|
|
||||||
if ("ZAB2/768".equals(name))
|
|
||||||
return "R" + name;
|
|
||||||
|
|
||||||
return super.parseLine(mot, name, longName, noTrainName);
|
return super.parseLine(mot, name, longName, noTrainName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue