This commit is contained in:
@ -8,6 +8,8 @@
|
||||
import enum
|
||||
import struct
|
||||
|
||||
from tmtccmd.config import CmdTreeNode
|
||||
|
||||
from eive_tmtc.config.definitions import CustomServiceList
|
||||
from eive_tmtc.pus_tm.defs import PrintWrapper
|
||||
from spacepackets.ecss.tc import PusTelecommand
|
||||
@ -71,6 +73,15 @@ def pack_tmp1075_test_into(
|
||||
return q
|
||||
|
||||
|
||||
def create_tmp_sens_node() -> CmdTreeNode:
|
||||
node = CmdTreeNode("tmp_1075", "TMP1075 Temperatur Sensors")
|
||||
node.add_child(CmdTreeNode(CmdStr.OFF, CmdInfo.OFF))
|
||||
node.add_child(CmdTreeNode(CmdStr.ON, CmdInfo.ON))
|
||||
node.add_child(CmdTreeNode(CmdStr.NML, CmdInfo.NML))
|
||||
node.add_child(CmdTreeNode(CmdStr.HK, CmdInfo.HK))
|
||||
return node
|
||||
|
||||
|
||||
@tmtc_definitions_provider
|
||||
def add_tmp_sens_cmds(defs: TmtcDefinitionWrapper):
|
||||
oce = OpCodeEntry()
|
||||
|
Reference in New Issue
Block a user