mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-16 01:50:58 +00:00
bf9b72f31f
initial commit
20 lines
310 B
Python
20 lines
310 B
Python
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class MR18KindMap:
|
|
id_: str = "MR18"
|
|
num_dca: int = 4
|
|
num_strip: int = 16
|
|
num_bus: int = 6
|
|
num_fx: int = 4
|
|
num_rtn: int = 4
|
|
|
|
|
|
_kinds = {
|
|
"XR18": MR18KindMap(),
|
|
"MR18": MR18KindMap(),
|
|
}
|
|
|
|
all = list(kind for kind in _kinds.values())
|