mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@648 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
596e67c3d1
commit
52a57e2f25
1 changed files with 7 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class RmvProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
public RmvProvider()
|
public RmvProvider()
|
||||||
{
|
{
|
||||||
super(API_BASE + "query.exe/dn", 17, null, "UTF-8", null);
|
super(API_BASE + "query.exe/dn", 16, null, "UTF-8", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public NetworkId id()
|
public NetworkId id()
|
||||||
|
@ -303,6 +303,12 @@ public class RmvProvider extends AbstractHafasProvider
|
||||||
return "TRT" + number;
|
return "TRT" + number;
|
||||||
if (type.startsWith("Bus"))
|
if (type.startsWith("Bus"))
|
||||||
return "B" + type.substring(3) + number;
|
return "B" + type.substring(3) + number;
|
||||||
|
if (type.equals("B"))
|
||||||
|
return "B" + number;
|
||||||
|
if (type.equals("BN"))
|
||||||
|
return "BN" + number;
|
||||||
|
if (type.equals("N"))
|
||||||
|
return "BN" + number;
|
||||||
if (type.equals("AS")) // Anruf-Sammel-Taxi
|
if (type.equals("AS")) // Anruf-Sammel-Taxi
|
||||||
return "BAS" + number;
|
return "BAS" + number;
|
||||||
if (type.equals("ASOF-")) // Anruf-Sammel-Taxi
|
if (type.equals("ASOF-")) // Anruf-Sammel-Taxi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue