20 lines
398 B
Python
20 lines
398 B
Python
|
from typing import Dict
|
||
|
|
||
|
# Constant is taken from source of PyRMVtransport:
|
||
|
# https://github.com/cgtobi/PyRMVtransport/blob/development/RMVtransport/const.py
|
||
|
PRODUCTS: Dict[str, int] = {
|
||
|
"ICE": 1,
|
||
|
"IC": 2,
|
||
|
"EC": 2,
|
||
|
"R": 4,
|
||
|
"RB": 4,
|
||
|
"RE": 4,
|
||
|
"S": 8,
|
||
|
"U-Bahn": 16,
|
||
|
"Tram": 32,
|
||
|
"Bus": 64,
|
||
|
"Bus2": 128,
|
||
|
"Fähre": 256,
|
||
|
"Taxi": 512,
|
||
|
"Bahn": 1024,
|
||
|
}
|