Files
x04sa-es3/script/test/TestStr
gac-x04sa 5780709266 Closedown
2018-10-29 17:20:28 +01:00

15 lines
312 B
Plaintext

class StrDev(DeviceBase, Readable, Readable.StringType):
def __init__(self):
DeviceBase.__init__(self, "StrDev")
self.index = 0
def read(self):
self.index = self.index + 1
return "Test" + str(self.index) #str(time.time())
strdev = StrDev();