experimenting with new decorator

This commit is contained in:
2022-08-12 10:04:08 +02:00
parent 0af9d52283
commit 26a886b5a2
14 changed files with 42 additions and 26 deletions

View File

@ -6,7 +6,7 @@ from typing import Optional
from config.definitions import CustomServiceList
from tmtccmd.config import TmTcDefWrapper
from tmtccmd.config.tmtc import OpCodeEntry
from tmtccmd.config.tmtc import OpCodeEntry, register_tmtc_definitions
from tmtccmd.tc import DefaultPusQueueHelper
from tmtccmd.tc.pus_3_fsfw_hk import (
make_sid,
@ -115,6 +115,7 @@ class ParamIds(enum.IntEnum):
INJECT_ALL_ON_FAILURE = 35
@register_tmtc_definitions
def add_pl_pcdu_cmds(defs: TmTcDefWrapper):
oce = OpCodeEntry()
oce.add(keys=OpCodes.SWITCH_HPA_ON_PROC, info=Info.SWITCH_HPA_ON_PROC)