mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@227 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
fa55d7274d
commit
e5fefd8c8e
5 changed files with 33 additions and 16 deletions
|
@ -126,6 +126,10 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
return 'I';
|
||||
if (ucType.equals("DNZ")) // Berlin-Saratov, Berlin-Moskva, Connections only?
|
||||
return 'I';
|
||||
if (ucType.equals("AIR")) // Generic Flight
|
||||
return 'I';
|
||||
if (ucType.equals("ECB")) // EC, Verona-München
|
||||
return 'I';
|
||||
|
||||
// Regional Germany
|
||||
if (ucType.equals("ZUG")) // Generic Train
|
||||
|
@ -138,6 +142,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
return 'R';
|
||||
if (ucType.equals("RE")) // RegionalExpress
|
||||
return 'R';
|
||||
if (ucType.equals("IR")) // Interregio
|
||||
return 'R';
|
||||
if (ucType.equals("IRE")) // Interregio Express
|
||||
return 'R';
|
||||
if (ucType.equals("HEX")) // Harz-Berlin-Express, Veolia
|
||||
|
@ -149,6 +155,12 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
if (ucType.equals("REX")) // RegionalExpress, Österreich
|
||||
return 'R';
|
||||
|
||||
// Regional Poland
|
||||
if (ucType.equals("OS")) // Chop-Cierna nas Tisou
|
||||
return 'R';
|
||||
if (ucType.equals("SP")) // Polen
|
||||
return 'R';
|
||||
|
||||
// Suburban Trains
|
||||
if (ucType.equals("S")) // Generic S-Bahn
|
||||
return 'S';
|
||||
|
@ -165,6 +177,10 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
if (ucType.equals("BUS")) // Generic Bus
|
||||
return 'B';
|
||||
|
||||
// Ferry
|
||||
if (ucType.equals("AS")) // SyltShuttle, eigentlich Autoreisezug
|
||||
return 'F';
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue