Script execution
This commit is contained in:
9
script/test/TestDefault.py
Normal file
9
script/test/TestDefault.py
Normal file
@@ -0,0 +1,9 @@
|
||||
class TestDev(DeviceBase):
|
||||
def doSomething(self):
|
||||
self.setCache("VALUE", -1)
|
||||
|
||||
|
||||
dev = TestDev("Test")
|
||||
dev.initialize()
|
||||
dev.doSomething()
|
||||
print dev.take()
|
||||
Reference in New Issue
Block a user