info printout for finished CFDP queue
This commit is contained in:
parent
8237591c4c
commit
061d62579b
14
common.py
14
common.py
@ -493,12 +493,14 @@ class TcHandler(TcHandlerBase):
|
|||||||
params.com_if.send(raw_tc)
|
params.com_if.send(raw_tc)
|
||||||
|
|
||||||
def queue_finished_cb(self, info: ProcedureWrapper):
|
def queue_finished_cb(self, info: ProcedureWrapper):
|
||||||
if info is not None and info.proc_type == TcQueueEntryType.PUS_TC:
|
if info is not None:
|
||||||
def_proc = info.to_def_procedure()
|
if info.proc_type == TcQueueEntryType.PUS_TC:
|
||||||
LOGGER.info(
|
def_proc = info.to_def_procedure()
|
||||||
f"Finished queue for service {def_proc.service} and op code {def_proc.op_code}"
|
LOGGER.info(
|
||||||
)
|
f"Finished queue for service {def_proc.service} and op code {def_proc.op_code}"
|
||||||
|
)
|
||||||
|
elif info.proc_type == TcProcedureType.CFDP:
|
||||||
|
LOGGER.info(f"Finished CFDP queue")
|
||||||
|
|
||||||
def setup_params(hook_obj: TmTcCfgHookBase) -> SetupWrapper:
|
def setup_params(hook_obj: TmTcCfgHookBase) -> SetupWrapper:
|
||||||
print(f"-- eive TMTC Commander --")
|
print(f"-- eive TMTC Commander --")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user