예제 #1
0
 def __init__(self, root_fs="."):
     TargetNode.__init__(self, "file_system")
     # go ahead and include the FileSystem commands
     self.attach(FilesystemPutFile(root_fs))
     self.attach(FilesystemGetFile(root_fs))
     self.attach(FilesystemRemoveFile(root_fs))
     self.attach(FileystemListDirectory(root_fs))
예제 #2
0
 def __init__(self, root_fs="."):
     TargetNode.__init__(self, "file_system")
     # go ahead and include the FileSystem commands
     self.attach(FilesystemPutFile(root_fs))
     self.attach(FilesystemGetFile(root_fs))
     self.attach(FilesystemRemoveFile(root_fs))
     self.attach(FileystemListDirectory(root_fs))
예제 #3
0
파일: zigbee.py 프로젝트: EdCornejo/cp4pc
 def __init__(self, root_fs="."):
     TargetNode.__init__(self, "zigbee")
     # include the ZigBee commands
     self.attach(Discover())
     self.attach(QuerySetting())
     self.attach(QueryState())
예제 #4
0
 def __init__(self, root_fs="."):
     TargetNode.__init__(self, "zigbee")
     # include the ZigBee commands
     self.attach(Discover())
     self.attach(QuerySetting())
     self.attach(QueryState())