mxcubeweb.core.adapter.beamline_action_adapter#
Classes
|
|
|
|
|
|
|
|
|
- class mxcubeweb.core.adapter.beamline_action_adapter.BeamlineActionAdapter(ho: HardwareObject, role: str, app, resource_handler_config: ResourceHandlerConfigModel = ResourceHandlerConfigModel(url_prefix='', exports=[], commands=['stop', 'run_action'], attributes=['data', 'get_all_actions']))[source]#
Bases:
AdapterBase
- Parameters:
ho (HardwareObject) –
role (str) –
resource_handler_config (ResourceHandlerConfigModel) –
- msg()[source]#
Returns a message describing the current state. should be used to communicate details of the state to the user. :returns: The message string. :rtype: (str)