mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 17:18:49 +00:00
class Autoreisezug
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@832 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
5181c2a436
commit
9aab719b31
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,8 @@ public class OebbProvider extends AbstractHafasProvider
|
||||||
return 'U';
|
return 'U';
|
||||||
if (value == 512)
|
if (value == 512)
|
||||||
return 'T';
|
return 'T';
|
||||||
|
if (value == 1024) // Autoreisezug
|
||||||
|
return 'I';
|
||||||
if (value == 2048)
|
if (value == 2048)
|
||||||
return 'P';
|
return 'P';
|
||||||
|
|
||||||
|
@ -96,6 +98,7 @@ public class OebbProvider extends AbstractHafasProvider
|
||||||
productBits.setCharAt(0, '1'); // railjet/ICE
|
productBits.setCharAt(0, '1'); // railjet/ICE
|
||||||
productBits.setCharAt(1, '1'); // ÖBB EC/ÖBB IC
|
productBits.setCharAt(1, '1'); // ÖBB EC/ÖBB IC
|
||||||
productBits.setCharAt(2, '1'); // EC/IC
|
productBits.setCharAt(2, '1'); // EC/IC
|
||||||
|
productBits.setCharAt(10, '1'); // Autoreisezug
|
||||||
}
|
}
|
||||||
else if (product == 'R')
|
else if (product == 'R')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue