This commit is contained in:
Andreas Schildbach 2013-06-30 22:34:18 +02:00
parent 34b032b11d
commit a9e52a5e60
4 changed files with 9 additions and 1 deletions

View file

@ -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