mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2025-06-30 17:20:24 +01: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())
|