mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 20:58:47 +00:00
VAGFR: 'BSB' lines.
This commit is contained in:
parent
740deccce1
commit
2c8e5ba9ec
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ public class VagfrProvider extends AbstractEfaProvider {
|
|||
if ("0".equals(mot)) {
|
||||
if (("N".equals(trainType) || "Nahverkehrszug".equals(trainName)) && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "N" + trainNum);
|
||||
if (longName != null && longName.startsWith("BSB-Zug ") && trainNum != null)
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, "BSB" + trainNum);
|
||||
}
|
||||
|
||||
return super.parseLine(id, network, mot, symbol, name, longName, trainType, trainNum, trainName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue