mxcubeweb.core.adapter.diffractometer_adapter#

Classes

DiffractometerAdapter(ho, role, app)

class mxcubeweb.core.adapter.diffractometer_adapter.DiffractometerAdapter(ho, role, app)[source]#

Bases: AdapterBase

state()[source]#

Retrieve the state of the underlying hardware object as a JavaScript string.

Retrieves the state of the underlying hardware object and converts it to a str that can be used by the javascript front end.

Returns:

The state

Return type:

(str)