add the status name to the 'rdlink' message
This commit is contained in:
2
secop.py
2
secop.py
@ -35,7 +35,7 @@ class SecopClient:
|
|||||||
def w_getblock(self, path):
|
def w_getblock(self, path):
|
||||||
path = path.split(',')[-1] # TODO: why this?
|
path = path.split(',')[-1] # TODO: why this?
|
||||||
if path == "main":
|
if path == "main":
|
||||||
components = [dict(type='rdlink', name=name+':value', title=name)
|
components = [dict(type='rdlink', name=f'{name}:value', statusname=f'{name}:status', title=name)
|
||||||
for node in self.instrument.nodes for name in node.modules]
|
for node in self.instrument.nodes for name in node.modules]
|
||||||
self.param_updates = {'value', 'status'}
|
self.param_updates = {'value', 'status'}
|
||||||
return dict(type='draw', path='main', title='modules', components=components)
|
return dict(type='draw', path='main', title='modules', components=components)
|
||||||
|
Reference in New Issue
Block a user