v6.0.0-dev #269

Merged
meggert merged 56 commits from v6.0.0-dev into main 2024-02-06 10:28:29 +01:00
Showing only changes of commit 79b3c269e6 - Show all commits

View File

@ -249,24 +249,21 @@ def handle_payload_procedure(
obj_id_man = get_object_ids()
assert len(cmd_path_list) >= 2
if cmd_path_list[0] == "ploc_mpsoc":
assert len(cmd_path_list) >= 3
return pack_ploc_mpsoc_commands(queue_helper, cmd_path_list[2])
return pack_ploc_mpsoc_commands(queue_helper, cmd_path_list[1])
if cmd_path_list[0] == "ploc_supv":
assert len(cmd_path_list) >= 3
return pack_ploc_supv_commands(queue_helper, cmd_path_list[2])
return pack_ploc_supv_commands(queue_helper, cmd_path_list[1])
if cmd_path_list[0] == "rad_sensor":
assert len(cmd_path_list) >= 3
object_id = cast(ObjectIdU32, obj_id_man.get(RAD_SENSOR_ID))
return create_rad_sensor_cmd(
object_id=object_id, q=queue_helper, cmd_str=cmd_path_list[2]
object_id=object_id, q=queue_helper, cmd_str=cmd_path_list[1]
)
if cmd_path_list[0] == "pl_pcdu":
assert len(cmd_path_list) >= 3
return pack_pl_pcdu_commands(q=queue_helper, cmd_str=cmd_path_list[2])
return pack_pl_pcdu_commands(q=queue_helper, cmd_str=cmd_path_list[1])
if cmd_path_list[0] == "scex":
assert len(cmd_path_list) >= 3
return pack_scex_cmds(
cmd_str=cmd_path_list[2],
cmd_str=cmd_path_list[1],
q=queue_helper,
)