small hk parsing fix
This commit is contained in:
parent
1e143ea6fa
commit
08c315fbf9
@ -147,18 +147,18 @@ def handle_regular_hk_print(
|
|||||||
obj_ids.SUS_10_R_LOC_XMYBZF_PT_ZF,
|
obj_ids.SUS_10_R_LOC_XMYBZF_PT_ZF,
|
||||||
obj_ids.SUS_11_R_LOC_XBYMZB_PT_ZB,
|
obj_ids.SUS_11_R_LOC_XBYMZB_PT_ZB,
|
||||||
]:
|
]:
|
||||||
handle_sus_hk(
|
return handle_sus_hk(
|
||||||
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
||||||
)
|
)
|
||||||
elif objb == obj_ids.P60_DOCK_HANDLER:
|
elif objb == obj_ids.P60_DOCK_HANDLER:
|
||||||
handle_p60_hk_data(printer=printer, set_id=set_id, hk_data=hk_data)
|
return handle_p60_hk_data(printer=printer, set_id=set_id, hk_data=hk_data)
|
||||||
elif objb in [
|
elif objb in [
|
||||||
obj_ids.GYRO_0_ADIS_HANDLER_ID,
|
obj_ids.GYRO_0_ADIS_HANDLER_ID,
|
||||||
obj_ids.GYRO_1_L3G_HANDLER_ID,
|
obj_ids.GYRO_1_L3G_HANDLER_ID,
|
||||||
obj_ids.GYRO_2_ADIS_HANDLER_ID,
|
obj_ids.GYRO_2_ADIS_HANDLER_ID,
|
||||||
obj_ids.GYRO_3_L3G_HANDLER_ID,
|
obj_ids.GYRO_3_L3G_HANDLER_ID,
|
||||||
]:
|
]:
|
||||||
handle_gyros_hk_data(
|
return handle_gyros_hk_data(
|
||||||
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
||||||
)
|
)
|
||||||
elif objb in [
|
elif objb in [
|
||||||
@ -167,19 +167,19 @@ def handle_regular_hk_print(
|
|||||||
obj_ids.MGM_2_LIS3_HANDLER_ID,
|
obj_ids.MGM_2_LIS3_HANDLER_ID,
|
||||||
obj_ids.MGM_3_RM3100_HANDLER_ID,
|
obj_ids.MGM_3_RM3100_HANDLER_ID,
|
||||||
]:
|
]:
|
||||||
handle_mgm_hk_data(
|
return handle_mgm_hk_data(
|
||||||
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
object_id=object_id, hk_data=hk_data, printer=printer, set_id=set_id
|
||||||
)
|
)
|
||||||
elif objb == obj_ids.PL_PCDU_ID:
|
elif objb == obj_ids.PL_PCDU_ID:
|
||||||
handle_plpcdu_hk(set_id=set_id, hk_data=hk_data, printer=printer)
|
return handle_plpcdu_hk(set_id=set_id, hk_data=hk_data, printer=printer)
|
||||||
elif objb == obj_ids.THERMAL_CONTROLLER_ID:
|
elif objb == obj_ids.THERMAL_CONTROLLER_ID:
|
||||||
handle_thermal_controller_hk_data(
|
return handle_thermal_controller_hk_data(
|
||||||
object_id=object_id, printer=printer, set_id=set_id, hk_data=hk_data
|
object_id=object_id, printer=printer, set_id=set_id, hk_data=hk_data
|
||||||
)
|
)
|
||||||
elif objb == obj_ids.PLOC_SUPV_ID:
|
elif objb == obj_ids.PLOC_SUPV_ID:
|
||||||
handle_supv_hk_data(set_id=set_id, hk_data=hk_data, printer=printer)
|
return handle_supv_hk_data(set_id=set_id, hk_data=hk_data, printer=printer)
|
||||||
elif objb == obj_ids.ACS_CONTROLLER:
|
elif objb == obj_ids.ACS_CONTROLLER:
|
||||||
handle_acs_ctrl_hk_data(printer, set_id, hk_data)
|
return handle_acs_ctrl_hk_data(printer, set_id, hk_data)
|
||||||
else:
|
else:
|
||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
f"Service 3 TM: Parsing for object {object_id} and set ID {set_id} "
|
f"Service 3 TM: Parsing for object {object_id} and set ID {set_id} "
|
||||||
|
Loading…
Reference in New Issue
Block a user