Source code for ska_oso_pdm.sb_definition.mccs.mccs_allocation

"""
The entities module provides simple Python representations of the structured
request and response for the TMC CentralNode.AssignResources command.
"""

__all__ = ["MCCSAllocation", "SubarrayBeamID"]

from ska_oso_pdm._shared import PdmObject

# MCCS subarray beam ID that will be mapped to an integer at runtime
SubarrayBeamID = str


[docs] class MCCSAllocation(PdmObject): """ MCCSAllocation is a Python representation of the MCCS allocation segment of a scheduling block. :param station_ids: stations id's to allocate :param channel_blocks: number of channel groups to assign :param subarray_beam_ids: beam IDs """ station_ids: list[list[int]] channel_blocks: list[int] subarray_beam_ids: list[SubarrayBeamID]