new enum class for pdu channesl
This commit is contained in:
parent
3f3523465a
commit
1ecc34800c
@ -49,6 +49,30 @@ class PcduSetIds(enum.IntEnum):
|
|||||||
SWITCHER_SET = 0
|
SWITCHER_SET = 0
|
||||||
|
|
||||||
|
|
||||||
|
class PcduSwitches(enum.IntEnum):
|
||||||
|
PDU1_CH0_TCS_BOARD_3V3 = 0
|
||||||
|
PDU1_CH1_SYRLINKS_12V = 1
|
||||||
|
PDU1_CH2_STAR_TRACKER_5V = 2
|
||||||
|
PDU1_CH3_MGT_5V = 3
|
||||||
|
PDU1_CH4_SUS_NOMINAL_3V3 = 4
|
||||||
|
PDU1_CH5_SOLAR_CELL_EXP_5V = 5
|
||||||
|
PDU1_CH6_PLOC_12V = 6
|
||||||
|
PDU1_CH7_ACS_A_SIDE_3V3 = 7
|
||||||
|
PDU1_CH8_UNOCCUPIED = 8
|
||||||
|
|
||||||
|
PDU2_CH0_Q7S = 9
|
||||||
|
PDU2_CH1_PL_PCDU_BATT_0_14V8 = 10
|
||||||
|
PDU2_CH2_RW_5V = 11
|
||||||
|
PDU2_CH3_TCS_BOARD_HEATER_IN_8V = 12
|
||||||
|
PDU2_CH4_SUS_REDUNDANT_3V3 = 13
|
||||||
|
PDU2_CH5_DEPLOYMENT_MECHANISM_8V = 14
|
||||||
|
PDU2_CH6_PL_PCDU_BATT_1_14V8 = 15
|
||||||
|
PDU2_CH7_ACS_BOARD_SIDE_B_3V3 = 16
|
||||||
|
PDU2_CH8_PAYLOAD_CAMERA = 17
|
||||||
|
|
||||||
|
P60_DOCK_5V_STACK = 18
|
||||||
|
|
||||||
|
|
||||||
def pack_power_commands(q: DefaultPusQueueHelper, op_code: str):
|
def pack_power_commands(q: DefaultPusQueueHelper, op_code: str):
|
||||||
pdu1_switch_cmds(q, op_code)
|
pdu1_switch_cmds(q, op_code)
|
||||||
pdu2_switch_cmds(q, op_code)
|
pdu2_switch_cmds(q, op_code)
|
||||||
|
Loading…
Reference in New Issue
Block a user