mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 08:58:47 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@97 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
4b1f0bb5e7
commit
14fa1e122e
3 changed files with 18 additions and 1 deletions
|
@ -518,7 +518,6 @@ public final class BahnProvider implements NetworkProvider
|
|||
private static String normalizeLine(final String line)
|
||||
{
|
||||
// TODO DPN Bad Reichenhall
|
||||
// TODO EIC Polen?
|
||||
// TODO EM East Midland? http://www.eastmidlandstrains.co.uk
|
||||
|
||||
if (line == null || line.length() == 0)
|
||||
|
@ -582,6 +581,8 @@ public final class BahnProvider implements NetworkProvider
|
|||
return "ITLG" + number;
|
||||
if (type.equals("HOT")) // Spanien, Nacht
|
||||
return "IHOT" + number;
|
||||
if (type.equals("EIC")) // Polen
|
||||
return "IEIC" + number;
|
||||
|
||||
if (type.equals("R"))
|
||||
return "R" + number;
|
||||
|
@ -709,6 +710,18 @@ public final class BahnProvider implements NetworkProvider
|
|||
return "RSDG" + number;
|
||||
if (type.equals("ARR")) // Ostfriesland
|
||||
return "RARR" + number;
|
||||
if (type.equals("MEL")) // Museumsbahn Merzig-Losheim
|
||||
return "RMEL" + number;
|
||||
if (type.equals("VEB")) // Vulkan-Eifel-Bahn Betriebsgesellschaft
|
||||
return "RVEB" + number;
|
||||
if (type.equals("P")) // Kasbachtalbahn
|
||||
return "RP" + number;
|
||||
if (type.equals("MSB")) // Mainschleifenbahn
|
||||
return "RMSB" + number;
|
||||
if (type.equals("KTB")) // Kandertalbahn
|
||||
return "RKTB" + number;
|
||||
if (type.equals("WTB")) // Wutachtalbahn
|
||||
return "RWTB" + number;
|
||||
if (type.equals("VEN")) // Rhenus Veniro
|
||||
return "RVEN" + number;
|
||||
if (type.equals("KD")) // Koleje Dolnośląskie
|
||||
|
|
|
@ -514,6 +514,8 @@ public class RmvProvider implements NetworkProvider
|
|||
return "ICNL" + number;
|
||||
if (type.equals("DNZ")) // Basel-Minsk, Nacht
|
||||
return "IDNZ" + number;
|
||||
if (type.equals("D")) // Prag-Fulda
|
||||
return "ID" + number;
|
||||
if (type.equals("RB")) // RegionalBahn
|
||||
return "RRB" + number;
|
||||
if (type.equals("RE")) // RegionalExpress
|
||||
|
|
|
@ -633,6 +633,8 @@ public final class VbbProvider implements NetworkProvider
|
|||
return "RBKB" + number;
|
||||
if (type.equals("Ausfl")) // Umgebung Berlin
|
||||
return "RAusfl" + number;
|
||||
if (type.equals("PKP")) // Polen
|
||||
return "RPKP" + number;
|
||||
if (type.equals("S"))
|
||||
return "SS" + number;
|
||||
if (type.equals("U"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue