Script execution
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class TestDev(DeviceBase):
|
||||
import ch.psi.pshell.core.Nameable as Nameable
|
||||
|
||||
class Test(Nameable):
|
||||
def doSomething(self):
|
||||
self.setCache("VALUE", -1)
|
||||
|
||||
|
||||
dev = TestDev("Test")
|
||||
dev.initialize()
|
||||
dev.doSomething()
|
||||
print dev.take()
|
||||
a= Test()
|
||||
print a.name
|
||||
Reference in New Issue
Block a user