Skip to content
Snippets Groups Projects
Commit 4287144f authored by jkerdreu's avatar jkerdreu
Browse files

Cleanup

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2771 b32b6428-25c9-4566-ad07-03861ab6144f
parent c01425e0
No related branches found
No related tags found
No related merge requests found
from xaal.lib import AsyncEngine,Device,tools,helpers
from xaal.lib import AsyncEngine,Device,tools
from xaal.schemas import devices
import functools
import random,sys,asyncio
......@@ -15,10 +16,11 @@ def main():
usage()
return
dev = Device("switch.basic",tools.get_random_uuid())
dev = devices.hmi()
dev.vendor_id = "RAMBo"
dev.product_id = "Fake Auto Switch"
dev.info = 'Autobot switch for %s' % target
dev.product_id = "Async Auto Switcher"
dev.info = 'Switcher for %s' % target
dev.dump()
eng = AsyncEngine()
eng.add_device(dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment