mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
Update some product comments and disable unused/unknown ones
This commit is contained in:
parent
b7a6dbc504
commit
46eadcfde6
1 changed files with 6 additions and 21 deletions
|
@ -4,7 +4,7 @@
|
|||
// so the bitmasks had to be determined by querying some stations and looking at the results..
|
||||
const products = [
|
||||
{
|
||||
id: 'nationalExpress',
|
||||
id: 'national-express',
|
||||
mode: 'train',
|
||||
bitmasks: [1],
|
||||
name: 'InterCityExpress',
|
||||
|
@ -19,15 +19,17 @@ const products = [
|
|||
short: 'IC/EC',
|
||||
default: true
|
||||
},
|
||||
// 4: not always used, could not be confirmed..
|
||||
// todo: not always true when a station has RE stopping at it
|
||||
// maybe something else?
|
||||
{
|
||||
id: 'regionalExp',
|
||||
id: 'regional-express',
|
||||
mode: 'train',
|
||||
bitmasks: [4],
|
||||
name: 'Regionalexpress',
|
||||
short: 'RE',
|
||||
default: true
|
||||
},
|
||||
// todo: also used for replacement service incl. S-Bahn replacement
|
||||
{
|
||||
id: 'regional',
|
||||
mode: 'train',
|
||||
|
@ -36,7 +38,6 @@ const products = [
|
|||
short: 'RB/RE',
|
||||
default: true
|
||||
},
|
||||
// 16: often appears together with 8 even when there are only S-Bahn trains at the station
|
||||
{
|
||||
id: 'suburban',
|
||||
mode: 'train',
|
||||
|
@ -53,7 +54,6 @@ const products = [
|
|||
short: 'Bus',
|
||||
default: true
|
||||
},
|
||||
// 64, 128, 256: could not be confirmed
|
||||
{
|
||||
id: 'ferry',
|
||||
mode: 'watercraft',
|
||||
|
@ -62,22 +62,7 @@ const products = [
|
|||
short: 'F',
|
||||
default: true
|
||||
},
|
||||
{
|
||||
id: 'subway',
|
||||
mode: 'train',
|
||||
bitmasks: [128],
|
||||
name: 'U-Bahn',
|
||||
short: 'U',
|
||||
default: true
|
||||
},
|
||||
{
|
||||
id: 'tram',
|
||||
mode: 'train',
|
||||
bitmasks: [256],
|
||||
name: 'Tram',
|
||||
short: 'T',
|
||||
default: true
|
||||
},
|
||||
// todo: are `128` & `256` unused?
|
||||
{
|
||||
id: 'taxi',
|
||||
mode: 'taxi',
|
||||
|
|
Loading…
Add table
Reference in a new issue