mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
Lines
This commit is contained in:
parent
34b032b11d
commit
a9e52a5e60
4 changed files with 9 additions and 1 deletions
|
@ -1099,6 +1099,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
return "R" + symbol;
|
||||
if ("Westfalenbahn".equals(trainName))
|
||||
return 'R' + symbol;
|
||||
if ("Chiemseebahn".equals(trainName))
|
||||
return 'R' + symbol;
|
||||
if ("R".equals(trainType) || "Regionalzug".equals(trainName))
|
||||
return "RR" + trainNum;
|
||||
if (trainType == null && trainNum != null && P_LINE_R.matcher(trainNum).matches())
|
||||
|
@ -1293,6 +1295,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
if ("RT".equals(trainType) || "RegioTram".equals(trainName))
|
||||
return "TRT" + trainNum;
|
||||
|
||||
if ("Bus".equals(trainType))
|
||||
return "B" + trainNum;
|
||||
if ("SEV".equals(trainType) || "SEV".equals(trainNum) || "SEV".equals(symbol) || "Ersatzverkehr".equals(trainName))
|
||||
return "BSEV";
|
||||
if ("Bus replacement".equals(trainName)) // GB
|
||||
|
|
|
@ -2658,6 +2658,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
// Suburban Trains
|
||||
if (P_LINE_SBAHN.matcher(ucType).matches()) // Generic (Night) S-Bahn
|
||||
return 'S';
|
||||
if ("S-BAHN".equals(ucType))
|
||||
return 'S';
|
||||
if ("BSB".equals(ucType)) // Breisgau S-Bahn
|
||||
return 'S';
|
||||
if ("SWE".equals(ucType)) // Südwestdeutsche Verkehrs-AG, Ortenau-S-Bahn
|
||||
|
|
|
@ -193,7 +193,7 @@ public class DsbProvider extends AbstractHafasProvider
|
|||
|
||||
if ("BYBUS".equals(ucType))
|
||||
return 'B';
|
||||
if ("X-BUS".equals(ucType))
|
||||
if ("X-BUS".equals(ucType) || "X BUS".equals(ucType))
|
||||
return 'B';
|
||||
if ("HV-BUS".equals(ucType)) // Havnebus
|
||||
return 'B';
|
||||
|
|
|
@ -301,6 +301,8 @@ public class ZvvProvider extends AbstractHafasProvider
|
|||
|
||||
if ("UNB".equals(ucType))
|
||||
return '?';
|
||||
if ("UUU".equals(ucType))
|
||||
return '?';
|
||||
if ("???".equals(ucType))
|
||||
return '?';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue