PythonRMV/pyrmv/const/product.py

20 lines
398 B
Python
Raw Normal View History

2022-09-27 16:12:15 +03:00
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,
}