KVV: 'IRE 1' line

This commit is contained in:
Andreas Schildbach 2022-12-18 18:30:21 +01:00
parent eec5112871
commit 915538f069

View file

@ -55,6 +55,8 @@ public class KvvProvider extends AbstractEfaProvider {
if ("0".equals(mot)) {
if (trainName != null && trainName.startsWith("TRILEX"))
return new Line(id, network, Product.REGIONAL_TRAIN, trainName);
if (trainType != null && trainNum.equals("IRE 1") && trainName != null)
return new Line(id, network, Product.REGIONAL_TRAIN, "IRE1");
}
return super.parseLine(id, network, mot, symbol, name, longName, trainType, trainNum, trainName);