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

@ -4,6 +4,7 @@ from config.definitions import CustomServiceList
from pus_tc.devs.pdec_handler import CommandIds
from spacepackets.ecss import PusTelecommand
from tmtccmd.config import TmTcDefWrapper, OpCodeEntry
from tmtccmd.config.tmtc import register_tmtc_definitions
from tmtccmd.tc import DefaultPusQueueHelper
from tmtccmd.util import ObjectIdU32
@ -45,6 +46,7 @@ class Info:
WIRTE_CONFIG = "Write config"
@register_tmtc_definitions
def specify_rtd_cmds(defs: TmTcDefWrapper):
oce = OpCodeEntry()
oce.add(keys=OpCodes.ON, info=Info.ON)