AbstractEfaProvider: 'SEV' line.

This commit is contained in:
Andreas Schildbach 2021-02-06 23:42:15 +01:00
parent 444735b8b4
commit 7c1fd06971

View file

@ -1419,7 +1419,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
if ("Schulbus".equals(trainName) && symbol != null)
return new Line(id, network, Product.BUS, symbol);
} else if ("13".equals(mot)) {
if ("Ersatzverkehr".equals(trainName) && trainType == null)
if (("SEV".equals(trainName) || "Ersatzverkehr".equals(trainName)) && trainType == null)
return new Line(id, network, Product.BUS, "SEV");
if (trainType == null && trainNum != null)
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);