Refactor ACS modes #163

Merged
muellerr merged 3 commits from refactor_acs_modes into main 2023-03-10 15:00:13 +01:00
Showing only changes of commit 9f905524b6 - Show all commits

View File

@ -81,7 +81,7 @@ def build_acs_subsystem_cmd(p: ServiceProviderParams):
@tmtc_definitions_provider @tmtc_definitions_provider
def add_acs_subsystem_cmds(defs: TmtcDefinitionWrapper): def add_acs_subsystem_cmds(defs: TmtcDefinitionWrapper):
oce = OpCodeEntry() oce = OpCodeEntry()
for op_code, (_, info) in HANDLER_LIST.items(): for op_code, (_, _, info) in HANDLER_LIST.items():
oce.add(op_code, info) oce.add(op_code, info)
oce.add(OpCode.REPORT_ALL_MODES, Info.REPORT_ALL_MODES) oce.add(OpCode.REPORT_ALL_MODES, Info.REPORT_ALL_MODES)
defs.add_service(CustomServiceList.ACS_SS, "ACS Subsystem", oce) defs.add_service(CustomServiceList.ACS_SS, "ACS Subsystem", oce)