File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,25 @@ def __init__(
309309 )
310310 self .param_devices [parameter ] = getattr (self , parameter )
311311
312+ # Add status Sigal (neither config nor read signal)
313+ if "status" in module_desc ["parameters" ].keys ():
314+
315+ properties = module_desc ["parameters" ][parameter ]
316+
317+ # generate new root path
318+ param_path = Path (parameter_name = parameter , module_name = module_name )
319+
320+ # readonly propertyns to plans and plan stubs.
321+ readonly = properties .get ("readonly" , None )
322+
323+ # Normal types + (struct and tuple as JSON object Strings)
324+ self ._signal_from_parameter (
325+ path = param_path ,
326+ sig_name = parameter ,
327+ readonly = readonly ,
328+ )
329+ self .param_devices [parameter ] = getattr (self , parameter )
330+
312331 # Initialize Command Devices
313332 for command , properties in module_desc ["commands" ].items ():
314333 # generate new root path
You can’t perform that action at this time.
0 commit comments