added mode commanding to hook impl
This commit is contained in:
parent
1b6799ae9b
commit
aa0dcdae1a
@ -19,9 +19,14 @@ class FsfwHookBase(TmTcHookBase):
|
||||
return "config/tmtc_config.json"
|
||||
|
||||
def get_service_op_code_dictionary(self) -> ServiceOpCodeDictT:
|
||||
from tmtccmd.config.globals import get_default_service_op_code_dict
|
||||
from tmtccmd.config.globals import get_default_service_op_code_dict, add_service_op_code_entry, add_op_code_entry
|
||||
|
||||
def_dict = get_default_service_op_code_dict()
|
||||
op_code = dict()
|
||||
add_op_code_entry(op_code_dict=op_code, keys="test", info="Mode CMD Test")
|
||||
add_service_op_code_entry(
|
||||
srv_op_code_dict=def_dict, name="200", info="Mode MGMT", op_code_entry=op_code
|
||||
)
|
||||
return def_dict
|
||||
|
||||
def add_globals_pre_args_parsing(self, gui: bool = False):
|
||||
|
Loading…
Reference in New Issue
Block a user