Skip to content
Snippets Groups Projects
Commit 525465f4 authored by jkerdreu's avatar jkerdreu
Browse files

Nothing

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1549 b32b6428-25c9-4566-ad07-03861ab6144f
parent cfa47afc
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,10 @@ class OutputChannel(object):
dev.vendor_id = "IHSEV"
dev.version = 0.1
dev.hw_id = channel
# attribute
self.state = dev.new_attribute(state_name)
# method
dev.add_method('on',self.on)
dev.add_method('off',self.off)
......@@ -30,8 +30,6 @@ class OutputChannel(object):
self.state.value = False
def new_lamp(ipx,channel,addr):
lamp = OutputChannel(ipx,channel,addr,'light')
lamp.dev.devtype = 'lamp.basic'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment