This commit is contained in:
@ -8,6 +8,7 @@ import struct
|
||||
from eive_tmtc.config.definitions import CustomServiceList
|
||||
from eive_tmtc.pus_tm.defs import PrintWrapper
|
||||
from eive_tmtc.tmtc.power.common_power import (
|
||||
add_gomspace_nodes,
|
||||
pack_common_gomspace_cmds,
|
||||
add_gomspace_cmd_defs,
|
||||
req_hk_cmds,
|
||||
@ -16,7 +17,7 @@ from eive_tmtc.tmtc.power.common_power import (
|
||||
OBC_ENDIANNESS,
|
||||
unpack_array_in_data,
|
||||
)
|
||||
from tmtccmd.config import TmtcDefinitionWrapper, OpCodeEntry
|
||||
from tmtccmd.config import CmdTreeNode, TmtcDefinitionWrapper, OpCodeEntry
|
||||
from tmtccmd.config.tmtc import tmtc_definitions_provider
|
||||
|
||||
from tmtccmd.tmtc import DefaultPusQueueHelper
|
||||
@ -50,6 +51,15 @@ class Info:
|
||||
TEST = "ACU Test"
|
||||
|
||||
|
||||
def create_acu_node() -> CmdTreeNode:
|
||||
node = CmdTreeNode(
|
||||
"acu", "P60 PCDU ACU device", hide_children_which_are_leaves=True
|
||||
)
|
||||
add_gomspace_nodes(node)
|
||||
node.add_child(CmdTreeNode(OpCode.TEST[0], Info.TEST))
|
||||
return node
|
||||
|
||||
|
||||
@tmtc_definitions_provider
|
||||
def add_acu_cmds(defs: TmtcDefinitionWrapper):
|
||||
oce = OpCodeEntry()
|
||||
|
Reference in New Issue
Block a user