mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
AbstractEfaProvider: 'SWEG' line.
This commit is contained in:
parent
4dcaaea3ad
commit
9fbe7947ac
1 changed files with 2 additions and 2 deletions
|
@ -1222,8 +1222,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "SWE" + trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "SWE" + trainNum);
|
||||||
if ("SWEG-Zug".equals(trainName)) // Südwestdeutschen Verkehrs-Aktiengesellschaft
|
if ("SWEG-Zug".equals(trainName)) // Südwestdeutschen Verkehrs-Aktiengesellschaft
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "SWEG" + trainNum);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "SWEG" + trainNum);
|
||||||
if ("SWEG-Zug".equals(longName))
|
if (longName != null && longName.startsWith("SWEG-Zug"))
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "SWEG");
|
return new Line(id, network, Product.REGIONAL_TRAIN, "SWEG" + Strings.nullToEmpty(trainNum));
|
||||||
if ("EGP Eisenbahngesellschaft Potsdam".equals(trainName))
|
if ("EGP Eisenbahngesellschaft Potsdam".equals(trainName))
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, "EGP" + trainNumStr);
|
return new Line(id, network, Product.REGIONAL_TRAIN, "EGP" + trainNumStr);
|
||||||
if ("ÖBB".equals(trainType) || "ÖBB".equals(trainName))
|
if ("ÖBB".equals(trainType) || "ÖBB".equals(trainName))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue