Started work on enums
This commit is contained in:
@@ -3,18 +3,18 @@ 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,
|
||||
"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,
|
||||
}
|
Reference in New Issue
Block a user