mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 22:48:49 +00:00
KVV: 'IRE1' line.
This commit is contained in:
parent
1841e97875
commit
3b1463310e
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ public class KvvProvider extends AbstractEfaProvider {
|
|||
protected Line parseLine(final @Nullable String id, final @Nullable String network, final @Nullable String mot,
|
||||
@Nullable String symbol, @Nullable String name, @Nullable String longName, final @Nullable String trainType,
|
||||
final @Nullable String trainNum, final @Nullable String trainName) {
|
||||
if ("19".equals(mot)) {
|
||||
if ("0".equals(mot)) {
|
||||
if ("IRE1".equals(trainNum) && trainName == null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
} else if ("19".equals(mot)) {
|
||||
if ("Bürgerbus".equals(trainName) || "BürgerBus".equals(trainName))
|
||||
return new Line(id, network, Product.BUS, symbol);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue