mxcubecore.HardwareObjects.abstract.AbstractNState#
AbstractNState class - interface for N state devices. Defines BaseValueEnum, initialise_values and value_to_enum methds. Implements validate_value, set/update limits.
Classes
|
Abstract base class for N state objects. |
|
Defines only the compulsory unknown. |
- class mxcubecore.HardwareObjects.abstract.AbstractNState.AbstractNState(name)[source]#
Bases:
AbstractActuator
Abstract base class for N state objects.
- VALUES#
alias of
BaseValueEnum
- set_limits(limits)[source]#
Set the low and high limits. :param limits: two element (low limit, high limit) tuple. :type limits: tuple
- Raises:
- update_limits(limits=None)[source]#
Check if the limits have changed. :param limits: two elements (low limit, high limit) tuple. :type limits: tuple
- Raises: