minor changes

This commit is contained in:
Markus Kranz 2022-05-24 17:08:20 +02:00
parent 66c3942afb
commit c37eb77da3

View File

@ -70,6 +70,7 @@ PROC_INFO_DICT = {
KAI.ACS_FT[0]: [OpCodes.ACS_FT, KAI.ACS_FT[1], 120.0, 10.0],
KAI.MGT_FT[0]: [OpCodes.MGT_FT, KAI.MGT_FT[1], 120.0, 10.0],
KAI.MGT_FT_DP[0]: [OpCodes.MGT_FT_DP, KAI.MGT_FT_DP[1], 120.0, 10.0],
# collection_time for KAI.MGT_FT_DP maybe be reduced as a full 120seconds is not needed after MGTs are tested
}
@ -103,7 +104,6 @@ def pack_generic_hk_listening_cmds(
else:
pass
# collection_time maybe be reduced as a full 120seconds is not needed after MGTs are tested
tc_queue.appendleft((QueueCommands.WAIT, collection_time))
for sid in sid_list:
@ -155,10 +155,12 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
)
if op_code in OpCodes.TCS_FT_ON:
# check whether tcs_assembly also has to be commanded to NORMAL Mode
# pack_tcs_sys_commands(tc_queue=tc_queue, op_code="tcs-normal")
pack_controller_commands(tc_queue=tc_queue, op_code="thermal_controller")
if op_code in OpCodes.TCS_FT_OFF:
# check whether tcs_assembly also has to be commanded to OFF Mode
# pack_tcs_sys_commands(tc_queue=tc_queue, op_code="tcs-off")
pack_controller_commands(tc_queue=tc_queue, op_code="thermal_controller")