Skip to content
Snippets Groups Projects
Commit 4956cd20 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-619: Use generic state macro instead of specific list for commands

parent f2b5fb5c
No related branches found
No related tags found
1 merge request!261L2SS-619: Introduce default state sets and use them.
...@@ -346,7 +346,7 @@ class lofar_device(Device, metaclass=DeviceMeta): ...@@ -346,7 +346,7 @@ class lofar_device(Device, metaclass=DeviceMeta):
# This is just the command version of _initialise_hardware(). # This is just the command version of _initialise_hardware().
self._initialise_hardware() self._initialise_hardware()
@only_in_states([DevState.STANDBY, DevState.ON]) @only_in_states(DEFAULT_COMMAND_STATES)
@command(dtype_out = DevDouble) @command(dtype_out = DevDouble)
def max_archiving_load(self): def max_archiving_load(self):
""" Return the maximum archiving load for the device attributes """ """ Return the maximum archiving load for the device attributes """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment