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

@ -2,6 +2,7 @@ import enum
import json
from config.definitions import CustomServiceList
from tmtccmd.config.tmtc import register_tmtc_definitions
from tmtccmd.tc import DefaultPusQueueHelper
from tmtccmd.tc.pus_8_funccmd import generate_action_command
from tmtccmd.config import OpCodeEntry, TmTcDefWrapper
@ -44,6 +45,7 @@ class Info:
FRAM = "Read FRAM"
@register_tmtc_definitions
def add_scex_cmds(defs: TmTcDefWrapper):
oce = OpCodeEntry()
oce.add(keys=OpCodes.PING, info=Info.PING)