コード例 #1
0
 def __init__(self):
     BranchNode.__init__(self, "query_state")
     #self.attrs['addr'] = RCIAttribute("addr", "Extended address of node (default is gateway XBee)")#, type="xbee_ext_addr")
     radio = BranchNode("radio", "XBee radio parameters")
     self.attach(radio)
     radio.attach(
         ATLeafNode('channel', 'CH', DTYPE.xHEX32, 'Operating channel', 10,
                    26))
コード例 #2
0
ファイル: zigbee.py プロジェクト: EdCornejo/cp4pc
 def __init__(self):
     BranchNode.__init__(self, 'discover')
コード例 #3
0
ファイル: zigbee.py プロジェクト: EdCornejo/cp4pc
 def __init__(self):
     BranchNode.__init__(self, "query_state")
     #self.attrs['addr'] = RCIAttribute("addr", "Extended address of node (default is gateway XBee)")#, type="xbee_ext_addr")
     radio = BranchNode("radio", "XBee radio parameters")
     self.attach(radio)
     radio.attach(ATLeafNode('channel', 'CH', DTYPE.xHEX32, 'Operating channel', 10, 26))    
コード例 #4
0
 def __init__(self):
     BranchNode.__init__(self, 'discover')
コード例 #5
0
 def __init__(self, device_tree):
     BranchNode.__init__(self, "query_descriptor")
     self.device_tree = device_tree
コード例 #6
0
 def __init__(self):
     BranchNode.__init__(self, 'do_command')
コード例 #7
0
 def __init__(self):
     BranchNode.__init__(self, 'query_setting')
コード例 #8
0
 def __init__(self):
     BranchNode.__init__(self, 'query_state')
コード例 #9
0
 def __init__(self):
     BranchNode.__init__(self, "rci_request")
コード例 #10
0
ファイル: filesystem.py プロジェクト: posborne/cp4pc
 def __init__(self, root):
     BranchNode.__init__(self, 'put_file')
     self.root = root
コード例 #11
0
ファイル: filesystem.py プロジェクト: posborne/cp4pc
 def __init__(self, root):
     BranchNode.__init__(self, 'ls')
     self.root = root
コード例 #12
0
ファイル: filesystem.py プロジェクト: EdCornejo/cp4pc
 def __init__(self, root):
     BranchNode.__init__(self, 'put_file')
     self.root = root
コード例 #13
0
ファイル: filesystem.py プロジェクト: EdCornejo/cp4pc
 def __init__(self, root):
     BranchNode.__init__(self, 'ls')
     self.root = root