more print commands for PCDU
This commit is contained in:
@ -90,6 +90,7 @@ class EiveHookObject(TmTcHookBase):
|
||||
def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
||||
from pus_tc.pdu1 import Pdu1OpCodes
|
||||
from pus_tc.pdu2 import Pdu2OpCodes
|
||||
from gomspace.gomspace_common import PduOpCodes
|
||||
from pus_tc.gps import GpsOpCodes
|
||||
op_code_dict = {
|
||||
'reboot': ('Reboot with Prompt', {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
@ -156,8 +157,10 @@ def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
||||
"4": ("PDU2: Turn SUS redundant off", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
"5": ("PDU2: Turn reaction wheels on", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
"6": ("PDU2: Turn reaction wheels off", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
Pdu1OpCodes.PRINT_SWITCH_STATE.value:
|
||||
("PDU1: Print switch states", {OpCodeDictKeys.TIMEOUT: 2.0})
|
||||
PduOpCodes.PRINT_ALL.value: ("PDU2: Print Info", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
PduOpCodes.PRINT_SWITCH_STATES.value: ("PDU2: Print Switch States", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
PduOpCodes.PRINT_CURRENTS.value: ("PDU2: Print Currents", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
PduOpCodes.PRINT_VOLTAGES.value: ("PDU2: Print Voltages", {OpCodeDictKeys.TIMEOUT: 2.0})
|
||||
}
|
||||
service_pdu2_tuple = ("PDU2 Device", op_code_dict_srv_pdu2)
|
||||
|
||||
|
Reference in New Issue
Block a user