add unit=s to pollinterval
Change-Id: I6a28fecd4b0d650042f2f031a1b64b801fc2885e
This commit is contained in:
@ -834,7 +834,7 @@ class Readable(Module):
|
|||||||
value = Parameter('current value of the module', FloatRange())
|
value = Parameter('current value of the module', FloatRange())
|
||||||
status = Parameter('current status of the module', StatusType(Status),
|
status = Parameter('current status of the module', StatusType(Status),
|
||||||
default=(StatusType.IDLE, ''))
|
default=(StatusType.IDLE, ''))
|
||||||
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120),
|
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120, unit='s'),
|
||||||
default=5, readonly=False, export=True)
|
default=5, readonly=False, export=True)
|
||||||
|
|
||||||
def doPoll(self):
|
def doPoll(self):
|
||||||
|
Reference in New Issue
Block a user