Update tmtccmd #21
@ -164,16 +164,12 @@ class EiveHookObject(TmTcHookBase):
|
|||||||
return service_op_code_dict
|
return service_op_code_dict
|
||||||
|
|
||||||
def get_json_config_file_path(self) -> str:
|
def get_json_config_file_path(self) -> str:
|
||||||
"""
|
"""The user can specify a path and filename for the JSON configuration file by overriding
|
||||||
The user can specify a path and filename for the JSON configuration file by overriding this function.
|
this function.
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
return "config/tmtc_config.json"
|
return "config/tmtc_config.json"
|
||||||
|
|
||||||
def get_version(self) -> str:
|
|
||||||
from config.version import SW_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_SUBMINOR
|
|
||||||
return f"{SW_NAME} {VERSION_MAJOR}.{VERSION_MINOR}.{VERSION_SUBMINOR}"
|
|
||||||
|
|
||||||
def add_globals_pre_args_parsing(self, gui: bool = False):
|
def add_globals_pre_args_parsing(self, gui: bool = False):
|
||||||
from config.globals_config import set_globals_pre_args_parsing
|
from config.globals_config import set_globals_pre_args_parsing
|
||||||
set_globals_pre_args_parsing(gui=gui)
|
set_globals_pre_args_parsing(gui=gui)
|
||||||
@ -198,10 +194,6 @@ class EiveHookObject(TmTcHookBase):
|
|||||||
from pus_tc.tc_packer_hook import pack_service_queue_user
|
from pus_tc.tc_packer_hook import pack_service_queue_user
|
||||||
pack_service_queue_user(service=service, op_code=op_code, service_queue=service_queue)
|
pack_service_queue_user(service=service, op_code=op_code, service_queue=service_queue)
|
||||||
|
|
||||||
def tm_user_factory_hook(self, raw_tm_packet: bytearray) -> PusTelemetry:
|
|
||||||
from pus_tm.factory_hook import tm_user_factory_hook
|
|
||||||
return tm_user_factory_hook(raw_tm_packet=raw_tm_packet)
|
|
||||||
|
|
||||||
def get_object_ids(self) -> Dict[bytes, list]:
|
def get_object_ids(self) -> Dict[bytes, list]:
|
||||||
from config.object_ids import get_object_ids
|
from config.object_ids import get_object_ids
|
||||||
return get_object_ids()
|
return get_object_ids()
|
||||||
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit 006b7e5a7c1c5cf46434358f7b4b10e4ca0331b5
|
Subproject commit 8b8bf6847a950914db5f4f1d268f8638993d207c
|
Loading…
x
Reference in New Issue
Block a user