PythonRMV/pyrmv/const/product.py

20 lines
400 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] = {
2022-09-28 13:31:41 +03:00
"ice": 1,
"ic": 2,
"ec": 2,
"r": 4,
"rb": 4,
"re": 4,
"sbahn": 8,
"ubahn": 16,
"tram": 32,
"bus": 64,
"bus2": 128,
"ferry": 256,
"taxi": 512,
"bahn": 1024,
2022-09-27 16:12:15 +03:00
}