Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
array_size_012 = DDC_EpicsSignalRO(
("size0", "ArraySize0_RBV"),
("size1", "ArraySize1_RBV"),
("size2", "ArraySize2_RBV"),
)
class ROIPlugin_V22(PluginBase_V22, ROIPlugin_V20, version=(2, 2), version_of=ROIPlugin):
...
class ROIPlugin_V26(PluginBase_V26, ROIPlugin_V22, version=(2, 6), version_of=ROIPlugin):
collapse_dims = Cpt(SignalWithRBV, "CollapseDims", string=True, doc="0='Disable' 1='Enable'")
class ROIPlugin_V31(PluginBase_V31, ROIPlugin_V26, version=(3, 1), version_of=ROIPlugin):
...
class ROIPlugin_V33(PluginBase_V33, ROIPlugin_V31, version=(3, 3), version_of=ROIPlugin):
...
class ROIPlugin_V34(PluginBase_V34, ROIPlugin_V33, version=(3, 4), version_of=ROIPlugin):
...
# --- NDROIStat ---
class ROIStatPlugin(Device, version_type='ADCore'):
"Serves as a base class for other versions"
nd_attributes_macros = Cpt(EpicsSignal, "NDAttributesMacros")
nd_attributes_status = Cpt(
EpicsSignal, "NDAttributesStatus", string=True,
doc="0='Attributes file OK' 1='File not found' 2='XML syntax error' 3='Macro substitution error'",
)
num_threads = Cpt(SignalWithRBV, "NumThreads")
process_plugin = Cpt(EpicsSignal, "ProcessPlugin", string=True)
sort_free = Cpt(EpicsSignal, "SortFree")
sort_free_low = Cpt(EpicsSignal, "SortFreeLow")
sort_mode = Cpt(SignalWithRBV, "SortMode", string=True,
doc="0=Unsorted 1=Sorted")
sort_size = Cpt(SignalWithRBV, "SortSize")
sort_time = Cpt(SignalWithRBV, "SortTime")
class PluginBase_V33(PluginBase_V31, version=(3, 3), version_of=PluginBase):
empty_free_list = Cpt(EpicsSignal, "EmptyFreeList", string=True)
num_queued_arrays = Cpt(EpicsSignal, "NumQueuedArrays", string=True)
pool_max_buffers = None # REMOVED
class PluginBase_V34(PluginBase_V33, version=(3, 4), version_of=PluginBase):
max_array_rate = Cpt(SignalWithRBV, "MaxArrayRate")
max_array_rate_cout = Cpt(EpicsSignal, "MaxArrayRate_COUT")
max_byte_rate = Cpt(SignalWithRBV, "MaxByteRate")
min_callback_time = Cpt(SignalWithRBV, "MinCallbackTime")
# --- NDFile ---
class FilePlugin_V20(PluginBase_V20, FilePlugin, version=(2, 0), version_of=FilePlugin):
...
# --- NDProcess ---
class ProcessPlugin_V20(PluginBase_V20, ProcessPlugin, version=(2, 0), version_of=ProcessPlugin):
...
class ProcessPlugin_V22(PluginBase_V22, ProcessPlugin_V20, version=(2, 2), version_of=ProcessPlugin):
...
class ProcessPlugin_V26(PluginBase_V26, ProcessPlugin_V22, version=(2, 6), version_of=ProcessPlugin):
...
class ProcessPlugin_V31(PluginBase_V31, ProcessPlugin_V26, version=(3, 1), version_of=ProcessPlugin):
...
class ProcessPlugin_V33(PluginBase_V33, ProcessPlugin_V31, version=(3, 3), version_of=ProcessPlugin):
port_backup = Cpt(EpicsSignal, "PortBackup", string=True)
read_background_tiffs_eq = Cpt(EpicsSignal, "ReadBackgroundTIFFSeq")
read_flat_field_tiffs_eq = Cpt(EpicsSignal, "ReadFlatFieldTIFFSeq")
class ProcessPlugin_V34(PluginBase_V34, ProcessPlugin_V33, version=(3, 4), version_of=ProcessPlugin):
...
# --- NDROI ---
("array_size0", "ArraySize0_RBV"),
("array_size1", "ArraySize1_RBV"),
("array_size2", "ArraySize2_RBV"),
doc='Array size',
)
class TransformPlugin_V22(PluginBase_V22, TransformPlugin_V21, version=(2, 2), version_of=TransformPlugin):
...
class TransformPlugin_V26(PluginBase_V26, TransformPlugin_V22, version=(2, 6), version_of=TransformPlugin):
...
class TransformPlugin_V31(PluginBase_V31, TransformPlugin_V26, version=(3, 1), version_of=TransformPlugin):
...
class TransformPlugin_V33(PluginBase_V33, TransformPlugin_V31, version=(3, 3), version_of=TransformPlugin):
...
class TransformPlugin_V34(PluginBase_V34, TransformPlugin_V33, version=(3, 4), version_of=TransformPlugin):
...
# --- NDPva ---
class PvaPlugin(Device, version_type='ADCore'):
"Serves as a base class for other versions"
array_size_xyz = DDC_EpicsSignalRO(
("x", "ArraySizeX_RBV"),
("y", "ArraySizeY_RBV"),
("z", "ArraySizeZ_RBV"),
)
class AttributePlugin_V26(PluginBase_V26, AttributePlugin_V22, version=(2, 6), version_of=AttributePlugin):
ts_acquiring = Cpt(EpicsSignal, "TSAcquiring", string=True, doc="0='Done' 1='Acquiring'")
ts_control = Cpt(EpicsSignal, 'TSControl', string=True, doc="0=Erase/Start 1=Start 2=Stop 3=Read")
ts_current_point = Cpt(EpicsSignal, 'TSCurrentPoint')
ts_num_points = Cpt(EpicsSignal, 'TSNumPoints')
ts_read = Cpt(EpicsSignal, 'TSRead')
class AttributePlugin_V31(PluginBase_V31, AttributePlugin_V26, version=(3, 1), version_of=AttributePlugin):
array_size_all = DDC_SignalWithRBV(
("size0", "ArraySize0"),
("size1", "ArraySize1"),
("size2", "ArraySize2"),
("size3", "ArraySize3"),
("size4", "ArraySize4"),
("size5", "ArraySize5"),
("size6", "ArraySize6"),
("size7", "ArraySize7"),
("size8", "ArraySize8"),
("size9", "ArraySize9"),
doc="array_size",
)
class AttributePlugin_V33(PluginBase_V33, AttributePlugin_V31, version=(3, 3), version_of=AttributePlugin):
id_name = Cpt(SignalWithRBV, "IDName", string=True)
id_start = Cpt(SignalWithRBV, "IDStart")
index = Cpt(EpicsSignalRO, "Index_RBV")
missing = Cpt(SignalWithRBV, "Missing")
mode = Cpt(SignalWithRBV, "Mode", string=True, doc="0='Discard' 1='Keep'")
position_ = Cpt(EpicsSignalRO, "Position_RBV", string=True)
qty = Cpt(EpicsSignalRO, "Qty_RBV")
reset = Cpt(EpicsSignal, "Reset", string=True, doc="")
running = Cpt(SignalWithRBV, "Running")
class PosPluginPlugin_V26(PluginBase_V26, PosPluginPlugin_V25, version=(2, 6), version_of=PosPlugin):
...
class PosPluginPlugin_V31(PluginBase_V31, PosPluginPlugin_V26, version=(3, 1), version_of=PosPlugin):
...
class PosPluginPlugin_V33(PluginBase_V33, PosPluginPlugin_V31, version=(3, 3), version_of=PosPlugin):
...
class PosPluginPlugin_V34(PluginBase_V34, PosPluginPlugin_V33, version=(3, 4), version_of=PosPlugin):
...
# --- NDCircularBuff ---
class CircularBuffPlugin(Device, version_type='ADCore'):
"Serves as a base class for other versions"
value_sum = Cpt(EpicsSignalRO, "ValueSum_RBV")
value = Cpt(EpicsSignalRO, "Value_RBV")
class AttributeNPlugin_V26(AttributeNPlugin_V22, version=(2, 6), version_of=AttributeNPlugin):
...
# --- NDAttrPlot ---
class AttrPlotPlugin(Device, version_type='ADCore'):
"Serves as a base class for other versions"
...
class AttrPlotPlugin_V31(PluginBase_V31, AttrPlotPlugin, version=(3, 1), version_of=AttrPlotPlugin):
npts = Cpt(EpicsSignal, "NPts")
reset = Cpt(EpicsSignal, "Reset")
class AttrPlotPlugin_V33(PluginBase_V33, AttrPlotPlugin_V31, version=(3, 3), version_of=AttrPlotPlugin):
...
class AttrPlotPlugin_V34(PluginBase_V34, AttrPlotPlugin_V33, version=(3, 4), version_of=AttrPlotPlugin):
...
# --- NDTimeSeriesN ---
class TimeSeriesNPlugin(Device, version_type='ADCore'):
# --- NDStdArrays ---
class ImagePlugin_V20(PluginBase_V20, ImagePlugin, version=(2, 0), version_of=ImagePlugin):
...
class ImagePlugin_V22(PluginBase_V22, ImagePlugin_V20, version=(2, 2), version_of=ImagePlugin):
...
class ImagePlugin_V26(PluginBase_V26, ImagePlugin_V22, version=(2, 6), version_of=ImagePlugin):
...
class ImagePlugin_V31(PluginBase_V31, ImagePlugin_V26, version=(3, 1), version_of=ImagePlugin):
...
class ImagePlugin_V33(PluginBase_V33, ImagePlugin_V31, version=(3, 3), version_of=ImagePlugin):
...
class ImagePlugin_V34(PluginBase_V34, ImagePlugin_V33, version=(3, 4), version_of=ImagePlugin):
...
# --- NDFileJPEG ---
class JPEGPlugin_V20(FilePlugin_V20, JPEGPlugin, version=(2, 0), version_of=JPEGPlugin):
...
ts_current_point = Cpt(EpicsSignal, "TSCurrentPoint")
ts_elapsed_time = Cpt(EpicsSignal, "TSElapsedTime")
ts_num_average = Cpt(EpicsSignal, "TSNumAverage")
ts_num_points = Cpt(EpicsSignal, "TSNumPoints")
ts_read = Cpt(EpicsSignal, "TSRead", string=True, doc="0='Done' 1='Read'")
ts_time_axis = Cpt(EpicsSignal, "TSTimeAxis")
ts_time_per_point = Cpt(SignalWithRBV, "TSTimePerPoint")
ts_time_per_point_link = Cpt(EpicsSignal, "TSTimePerPointLink")
ts_timestamp = Cpt(EpicsSignal, "TSTimestamp")
class TimeSeriesPlugin_V26(PluginBase_V26, TimeSeriesPlugin_V25, version=(2, 6), version_of=TimeSeriesPlugin):
...
class TimeSeriesPlugin_V31(PluginBase_V31, TimeSeriesPlugin_V26, version=(3, 1), version_of=TimeSeriesPlugin):
...
class TimeSeriesPlugin_V33(PluginBase_V33, TimeSeriesPlugin_V31, version=(3, 3), version_of=TimeSeriesPlugin):
...
class TimeSeriesPlugin_V34(PluginBase_V34, TimeSeriesPlugin_V33, version=(3, 4), version_of=TimeSeriesPlugin):
...
# --- NDCodec ---
class CodecPlugin(Device, version_type='ADCore'):
"Serves as a base class for other versions"
# --- NDOverlay ---
class OverlayPlugin_V20(PluginBase_V20, OverlayPlugin, version=(2, 0), version_of=OverlayPlugin):
...
class OverlayPlugin_V22(PluginBase_V22, OverlayPlugin_V20, version=(2, 2), version_of=OverlayPlugin):
...
class OverlayPlugin_V26(PluginBase_V26, OverlayPlugin_V22, version=(2, 6), version_of=OverlayPlugin):
...
class OverlayPlugin_V31(PluginBase_V31, OverlayPlugin_V26, version=(3, 1), version_of=OverlayPlugin):
...
class OverlayPlugin_V33(PluginBase_V33, OverlayPlugin_V31, version=(3, 3), version_of=OverlayPlugin):
...
class OverlayPlugin_V34(PluginBase_V34, OverlayPlugin_V33, version=(3, 4), version_of=OverlayPlugin):
...
# --- NDProcess ---
class ProcessPlugin_V20(PluginBase_V20, ProcessPlugin, version=(2, 0), version_of=ProcessPlugin):
...