scex tmtc init

This commit is contained in:
Irini Kosmidou 2022-06-21 15:21:55 +02:00
parent c29689cc0a
commit 7012a6c41f
5 changed files with 7 additions and 4 deletions

View File

@ -50,3 +50,4 @@ class CustomServiceList(enum.Enum):
RTD = "rtd" RTD = "rtd"
TVTTESTPROCEDURE = "tvtestproc" TVTTESTPROCEDURE = "tvtestproc"
CONTROLLERS = "controllers" CONTROLLERS = "controllers"
SCEX = "scex"

0
pus_tc/devs/scex.py Normal file
View File

View File

@ -242,8 +242,10 @@ def pack_service_queue_user(
tc_queue=service_queue, object_id=RW_ASSEMBLY, op_code=op_code tc_queue=service_queue, object_id=RW_ASSEMBLY, op_code=op_code
) )
if service == CustomServiceList.CONTROLLERS.value: if service == CustomServiceList.CONTROLLERS.value:
return pack_controller_commands(tc_queue=service_queue, op_code=op_code) return pack_cmd_ctrl_to_prompted_mode(tc_queue=service_queue)
LOGGER.warning(f"Invalid Service {service}") if service == CustomServiceList.SCEX.value:
pass
LOGGER.warning("Invalid Service !")
def create_total_tc_queue_user() -> TcQueueT: def create_total_tc_queue_user() -> TcQueueT:

@ -1 +1 @@
Subproject commit 7fdf07f2a1a93bcad0bdda32acd48b2a600cd861 Subproject commit 2dbd8f680351cdadc8114b1b80cfa155ac75c25a

@ -1 +1 @@
Subproject commit 4de1bb09c97b30fa64260c9f470537d23456c810 Subproject commit 8f69fa22c7557369569372ee22058f29d4fe6b56