mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-16 10:00:56 +00:00
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())
|