Skip to content

Device

device

This is part of the janus package.

Attributes

__author__ module-attribute

__author__ = 'Jan Meyer'
__copyright__ = '(c)2024 DESY, FS-BMX'

__email__ module-attribute

__email__ = 'jan.meyer@desy.de'

__license__ module-attribute

__license__ = 'GPL'

Classes

EpicsDevice

EpicsDevice(config: Union[str, dict, DeviceConfig])

Bases: Device

Source code in mfx/roadrunner/janus/devices/epics/device.py
def __init__(self, config: Union[str, dict, DeviceConfig]) -> None:
    config = DeviceConfig.from_str_or_dict(config)
    if config.simulation:
        config.connector = ConnectorType.SIMULATION
    else:
        config.connector = ConnectorType.EPICS
    Device.__init__(self, config)
Functions
__new__
__new__(config: Union[str, dict, DeviceConfig]) -> Device
Source code in mfx/roadrunner/janus/devices/epics/device.py
def __new__(cls, config: Union[str, dict, DeviceConfig]) -> Device:
    return QObject.__new__(cls)