name change

This commit is contained in:
Robin Müller 2022-08-17 17:23:02 +02:00
parent 8554ab5742
commit 865ac0574f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
5 changed files with 10 additions and 13 deletions

View File

@ -3,7 +3,7 @@ from typing import Optional
from tmtccmd import BackendBase
from tmtccmd.com_if import ComInterface
from tmtccmd.config import TmTcCfgHookBase, TmTcDefWrapper, default_json_path
from tmtccmd.config import TmTcCfgHookBase, TmtcDefinitionWrapper, default_json_path
from tmtccmd.util import ObjectIdDictT, RetvalDictT
@ -14,7 +14,7 @@ class CommonFsfwHookBase(TmTcCfgHookBase):
super().__init__(json_cfg_path=json_cfg_path)
@abstractmethod
def get_tmtc_definitions(self) -> TmTcDefWrapper:
def get_tmtc_definitions(self) -> TmtcDefinitionWrapper:
pass
@abstractmethod

View File

@ -1,14 +1,12 @@
from common_tmtc.pus_tc.service_20_parameters import add_param_cmds
from common_tmtc.pus_tc.service_3_housekeeping import add_hk_cmds
from tmtccmd.config import (
TmTcDefWrapper,
)
from tmtccmd.config import TmtcDefinitionWrapper
from common_tmtc.pus_tc.pus_11_tc_sched import add_tc_sched_cmds
from tmtccmd.config.globals import get_default_tmtc_defs
from tmtccmd.config.tmtc import OpCodeEntry
def common_fsfw_service_op_code_dict() -> TmTcDefWrapper:
def common_fsfw_service_op_code_dict() -> TmtcDefinitionWrapper:
def_wrapper = get_default_tmtc_defs()
op_code_entry = OpCodeEntry()
op_code_entry.add(keys="test", info="Mode CMD Test")

View File

@ -4,7 +4,7 @@ from datetime import timedelta
from spacepackets.ecss.tc import PusTelecommand
from tmtccmd.config import TmTcDefWrapper
from tmtccmd.config import TmtcDefinitionWrapper
from tmtccmd.config.tmtc import OpCodeEntry
from tmtccmd.pus.pus_17_test import pack_service_17_ping_command
from tmtccmd.pus.pus_11_tc_sched import TypeOfTimeWindow, Subservices, TcSchedReqId
@ -36,7 +36,7 @@ class Info:
TEST_RESET = "Test TC scheduling reset command"
def add_tc_sched_cmds(cmd_dict: TmTcDefWrapper):
def add_tc_sched_cmds(cmd_dict: TmtcDefinitionWrapper):
op_code_entry = OpCodeEntry()
op_code_entry.add(keys=OpCodes.ENABLE, info=Info.ENABLE)
op_code_entry.add(keys=OpCodes.DISABLE, info=Info.DISABLE)

View File

@ -3,8 +3,7 @@ import struct
from spacepackets.ecss.tc import PusTelecommand
from spacepackets.ecss import PusServices
from tmtccmd.config import TmTcDefWrapper, OpCodeEntry
from tmtccmd.tc import QueueHelperBase
from tmtccmd.config import TmtcDefinitionWrapper, OpCodeEntry
from tmtccmd.tc.pus_20_params import pack_type_and_matrix_data, pack_parameter_id
from tmtccmd.tc.pus_200_fsfw_modes import pack_mode_data, Modes
from tmtccmd.logging import get_console_logger
@ -15,7 +14,7 @@ from tmtccmd.tc.queue import DefaultPusQueueHelper
LOGGER = get_console_logger()
def add_param_cmds(defs: TmTcDefWrapper):
def add_param_cmds(defs: TmtcDefinitionWrapper):
op_code_entry = OpCodeEntry()
op_code_entry.add(keys=["0", "test"], info="Generic Test")
defs.add_service(

View File

@ -3,7 +3,7 @@ from datetime import timedelta
from spacepackets.ecss.tc import PusTelecommand
from deps.spacepackets.spacepackets.ecss import PusServices
from tmtccmd.config import TmTcDefWrapper, OpCodeEntry
from tmtccmd.config import TmtcDefinitionWrapper, OpCodeEntry
from tmtccmd.tc.pus_200_fsfw_modes import pack_mode_data, Modes
from tmtccmd.tc.pus_20_params import (
pack_boolean_parameter_app_data,
@ -28,7 +28,7 @@ TEST_NOTIFICATION_ACTION_ID = 3
PARAM_ACTIVATE_CHANGING_DATASETS = 4
def add_hk_cmds(defs: TmTcDefWrapper):
def add_hk_cmds(defs: TmtcDefinitionWrapper):
op_code_entry = OpCodeEntry()
op_code_entry.add(keys=["0", "test"], info="Generic Test")
defs.add_service(