service 200 handler (but test task missing)
This commit is contained in:
parent
2e942ec21e
commit
6758ecef0d
@ -13,7 +13,7 @@
|
|||||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
||||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/tmtc_client_cli.py" />
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/tmtc_client_cli.py" />
|
||||||
<option name="PARAMETERS" value="-s 200 -t 4" />
|
<option name="PARAMETERS" value="-s 200 -o 0 -t 4" />
|
||||||
<option name="SHOW_COMMAND_LINE" value="false" />
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||||
<option name="EMULATE_TERMINAL" value="true" />
|
<option name="EMULATE_TERMINAL" value="true" />
|
||||||
<option name="MODULE_MODE" value="false" />
|
<option name="MODULE_MODE" value="false" />
|
||||||
|
@ -14,6 +14,7 @@ from tmtccmd.tc.definitions import TcQueueT
|
|||||||
from tmtccmd.tc.service_5_event import pack_generic_service5_test_into
|
from tmtccmd.tc.service_5_event import pack_generic_service5_test_into
|
||||||
from tmtccmd.tc.service_17_test import pack_service17_ping_command
|
from tmtccmd.tc.service_17_test import pack_service17_ping_command
|
||||||
|
|
||||||
|
from pus_tc.service_200_mode import pack_service200_test_into
|
||||||
from pus_tc.p60dock import pack_p60dock_test_into
|
from pus_tc.p60dock import pack_p60dock_test_into
|
||||||
from pus_tc.pdu2 import pack_pdu2_test_into
|
from pus_tc.pdu2 import pack_pdu2_test_into
|
||||||
from pus_tc.pdu1 import pack_pdu1_test_into
|
from pus_tc.pdu1 import pack_pdu1_test_into
|
||||||
@ -39,6 +40,8 @@ def pack_service_queue_user(service: Union[str, int], op_code: str, service_queu
|
|||||||
return pack_generic_service5_test_into(tc_queue=service_queue)
|
return pack_generic_service5_test_into(tc_queue=service_queue)
|
||||||
if service == CoreServiceList.SERVICE_17.value:
|
if service == CoreServiceList.SERVICE_17.value:
|
||||||
return service_queue.appendleft(pack_service17_ping_command(ssc=1700).pack_command_tuple())
|
return service_queue.appendleft(pack_service17_ping_command(ssc=1700).pack_command_tuple())
|
||||||
|
if service == CoreServiceList.SERVICE_200.value:
|
||||||
|
return pack_service200_test_into(tc_queue=service_queue)
|
||||||
if service == CustomServiceList.P60DOCK.value:
|
if service == CustomServiceList.P60DOCK.value:
|
||||||
object_id = P60_DOCK_HANDLER
|
object_id = P60_DOCK_HANDLER
|
||||||
return pack_p60dock_test_into(object_id=object_id, tc_queue=service_queue)
|
return pack_p60dock_test_into(object_id=object_id, tc_queue=service_queue)
|
||||||
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit 978db08986105345bb378157623688c6d1531b1e
|
Subproject commit e8e947bd067ac49bb3f4eaa7f5b4d5aa5ed04ef2
|
Loading…
Reference in New Issue
Block a user