mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 12: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)
|
private static String normalizeLine(final String line)
|
||||||
{
|
{
|
||||||
// TODO DPN Bad Reichenhall
|
// TODO DPN Bad Reichenhall
|
||||||
// TODO EIC Polen?
|
|
||||||
// TODO EM East Midland? http://www.eastmidlandstrains.co.uk
|
// TODO EM East Midland? http://www.eastmidlandstrains.co.uk
|
||||||
|
|
||||||
if (line == null || line.length() == 0)
|
if (line == null || line.length() == 0)
|
||||||
|
@ -582,6 +581,8 @@ public final class BahnProvider implements NetworkProvider
|
||||||
return "ITLG" + number;
|
return "ITLG" + number;
|
||||||
if (type.equals("HOT")) // Spanien, Nacht
|
if (type.equals("HOT")) // Spanien, Nacht
|
||||||
return "IHOT" + number;
|
return "IHOT" + number;
|
||||||
|
if (type.equals("EIC")) // Polen
|
||||||
|
return "IEIC" + number;
|
||||||
|
|
||||||
if (type.equals("R"))
|
if (type.equals("R"))
|
||||||
return "R" + number;
|
return "R" + number;
|
||||||
|
@ -709,6 +710,18 @@ public final class BahnProvider implements NetworkProvider
|
||||||
return "RSDG" + number;
|
return "RSDG" + number;
|
||||||
if (type.equals("ARR")) // Ostfriesland
|
if (type.equals("ARR")) // Ostfriesland
|
||||||
return "RARR" + number;
|
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
|
if (type.equals("VEN")) // Rhenus Veniro
|
||||||
return "RVEN" + number;
|
return "RVEN" + number;
|
||||||
if (type.equals("KD")) // Koleje Dolnośląskie
|
if (type.equals("KD")) // Koleje Dolnośląskie
|
||||||
|
|
|
@ -514,6 +514,8 @@ public class RmvProvider implements NetworkProvider
|
||||||
return "ICNL" + number;
|
return "ICNL" + number;
|
||||||
if (type.equals("DNZ")) // Basel-Minsk, Nacht
|
if (type.equals("DNZ")) // Basel-Minsk, Nacht
|
||||||
return "IDNZ" + number;
|
return "IDNZ" + number;
|
||||||
|
if (type.equals("D")) // Prag-Fulda
|
||||||
|
return "ID" + number;
|
||||||
if (type.equals("RB")) // RegionalBahn
|
if (type.equals("RB")) // RegionalBahn
|
||||||
return "RRB" + number;
|
return "RRB" + number;
|
||||||
if (type.equals("RE")) // RegionalExpress
|
if (type.equals("RE")) // RegionalExpress
|
||||||
|
|
|
@ -633,6 +633,8 @@ public final class VbbProvider implements NetworkProvider
|
||||||
return "RBKB" + number;
|
return "RBKB" + number;
|
||||||
if (type.equals("Ausfl")) // Umgebung Berlin
|
if (type.equals("Ausfl")) // Umgebung Berlin
|
||||||
return "RAusfl" + number;
|
return "RAusfl" + number;
|
||||||
|
if (type.equals("PKP")) // Polen
|
||||||
|
return "RPKP" + number;
|
||||||
if (type.equals("S"))
|
if (type.equals("S"))
|
||||||
return "SS" + number;
|
return "SS" + number;
|
||||||
if (type.equals("U"))
|
if (type.equals("U"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue