Skip to content
Snippets Groups Projects
Commit 5525d1d4 authored by jkerdreu's avatar jkerdreu
Browse files

Added bus addr/port/hops attributes.

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1563 b32b6428-25c9-4566-ad07-03861ab6144f
parent 436b427d
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,11 @@ class Device(object):
self.next_alive = 0
self.__attributes = []
self.new_attribute('busAddr',config.address)
self.new_attribute('busPort',config.port)
self.new_attribute('hops',config.hops)
self.methods = {'getAttributes' : self._get_attributes,
'getDescription': self._get_description }
self.engine = engine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment