13 lines
331 B
Python
13 lines
331 B
Python
from tmtccmd.pus.pus_17_test import (
|
|
pack_service_17_ping_command,
|
|
pack_generic_service17_test,
|
|
)
|
|
from tmtccmd.tc import QueueHelper
|
|
|
|
|
|
def pack_service_17_commands(op_code: str, q: QueueHelper):
|
|
if op_code == "0":
|
|
q.add_pus_tc(pack_service_17_ping_command())
|
|
else:
|
|
pack_generic_service17_test(q=q)
|