Skip to content
Snippets Groups Projects
Commit 2c205e25 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Modify attributes and calls to match Paulus' OPC-US server

parent 5bd509db
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ from tango import AttrQuality, DispLevel, DevState ...@@ -22,6 +22,7 @@ from tango import AttrQuality, DispLevel, DevState
from tango import AttrWriteType, PipeWriteType from tango import AttrWriteType, PipeWriteType
# Additional import # Additional import
# PROTECTED REGION ID(RCUSCC.additionnal_import) ENABLED START # # PROTECTED REGION ID(RCUSCC.additionnal_import) ENABLED START #
import sys
import opcua import opcua
import traceback import traceback
# PROTECTED REGION END # // RCUSCC.additionnal_import # PROTECTED REGION END # // RCUSCC.additionnal_import
...@@ -71,150 +72,105 @@ class RCUSCC(Device): ...@@ -71,150 +72,105 @@ class RCUSCC(Device):
# Attributes # Attributes
# ---------- # ----------
time_offset_rw = attribute( RCU01_Att1_R = attribute(
dtype='DevLong64', dtype='DevLong64',
access=AttrWriteType.READ_WRITE,
) )
time_offset_r = attribute( RCU01_Att1_RW = attribute(
dtype='DevLong64', dtype='DevLong64',
)
RCU_00_Att0_R = attribute(
dtype='DevDouble',
)
RCU_00_Att0_RW = attribute(
dtype='DevDouble',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Att1_R = attribute( RCU01_Att2_R = attribute(
dtype='DevDouble', dtype='DevLong64',
)
RCU_00_Att1_RW = attribute(
dtype='DevDouble',
access=AttrWriteType.READ_WRITE,
)
RCU_00_Att2_R = attribute(
dtype='DevDouble',
) )
RCU_00_Att2_RW = attribute( RCU01_Att2_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Pwr_dig_R = attribute( RCU01_Att3_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_Pwr_dig_RW = attribute( RCU01_Att3_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Pwr_Ant0_R = attribute( RCU01_Band1_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_Pwr_Ant0_RW = attribute( RCU01_Band1_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Pwr_Ant1_R = attribute( RCU01_Band2_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_Pwr_Ant1_RW = attribute( RCU01_Band2_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Pwr_Ant2_R = attribute( RCU01_Band3_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_Pwr_Ant2_RW = attribute( RCU01_Band3_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Band0_R = attribute( RCU01_Dither1_Frequency_R = attribute(
dtype='DevDouble', dtype='DevDouble',
) )
RCU_00_Band0_RW = attribute( RCU01_Dither1_Frequency_RW = attribute(
dtype='DevDouble', dtype='DevDouble',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Band1_R = attribute( RCU01_Dither2_Frequency_R = attribute(
dtype='DevDouble', dtype='DevDouble',
) )
RCU_00_Band1_RW = attribute( RCU01_Dither2_Frequency_RW = attribute(
dtype='DevDouble', dtype='DevDouble',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_Band2_R = attribute( RCU01_LED0_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_Band2_RW = attribute( RCU01_LED0_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_LED0_R = attribute( RCU01_Pwr_dig_R = attribute(
dtype='DevDouble', dtype='DevLong64',
) )
RCU_00_LED0_RW = attribute( RCU01_Pwr_dig_RW = attribute(
dtype='DevDouble', dtype='DevLong64',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_LED1_R = attribute( RCU01_Temp_R = attribute(
dtype='DevDouble', dtype='DevDouble',
) )
RCU_00_LED1_RW = attribute( RCU01_Temp_RW = attribute(
dtype='DevDouble', dtype='DevDouble',
access=AttrWriteType.READ_WRITE, access=AttrWriteType.READ_WRITE,
) )
RCU_00_ADC_lock0_R = attribute(
dtype='DevDouble',
)
RCU_00_ADC_lock1_R = attribute(
dtype='DevDouble',
)
RCU_00_ADC_lock2_R = attribute(
dtype='DevDouble',
)
RCU_00_V_2v5_R = attribute(
dtype='DevDouble',
)
RCU_00_I_Ant0_R = attribute(
dtype='DevDouble',
)
RCU_00_I_Ant1_R = attribute(
dtype='DevDouble',
)
RCU_00_I_Ant2_R = attribute(
dtype='DevDouble',
)
# --------------- # ---------------
...@@ -227,109 +183,76 @@ class RCUSCC(Device): ...@@ -227,109 +183,76 @@ class RCUSCC(Device):
# PROTECTED REGION ID(RCUSCC.init_device) ENABLED START # # PROTECTED REGION ID(RCUSCC.init_device) ENABLED START #
self.set_state(DevState.INIT) self.set_state(DevState.INIT)
# Init the dict that contains attribute to OPC-UA MP/CP mappings. # Init the dict thaRCU00_Att3_Rt contains attribute to OPC-UA MP/CP mappings.
self.attribute_mapping = {} self.attribute_mapping = {}
# Set default values in the RW/R attributes and add them to # Set default values in the RW/R attributes and add them to
# the mapping. # the mapping.
self._time_offset_rw = 0 self._RCU01_Att1_R = 0
self.attribute_mapping["_time_offset_rw"] = {} self.attribute_mapping["RCU01_Att1_R"] = {}
self._time_offset_r = 0 self._RCU01_Att1_RW = 0
self.attribute_mapping["_time_offset_r"] = {} self.attribute_mapping["RCU01_Att1_RW"] = {}
self._RCU_00_Att0_R = 0 self._RCU01_Att2_R = 0
self.attribute_mapping["_RCU_00_Att0_R"] = {} self.attribute_mapping["RCU01_Att2_R"] = {}
self._RCU_00_Att0_RW = 0 self._RCU01_Att2_RW = 0
self.attribute_mapping["_RCU_00_Att0_RW"] = {} self.attribute_mapping["RCU01_Att2_RW"] = {}
self._RCU_00_Att1_R = 0 self._RCU01_Att3_R = 0
self.attribute_mapping["_RCU_00_Att1_R"] = {} self.attribute_mapping["RCU01_Att3_R"] = {}
self._RCU_00_Att1_RW = 0 self._RCU01_Att3_RW = 0
self.attribute_mapping["_RCU_00_Att1_RW"] = {} self.attribute_mapping["RCU01_Att3_RW"] = {}
self._RCU_00_Att2_R = 0 self._RCU01_Band1_R = 0
self.attribute_mapping["_RCU_00_Att2_R"] = {} self.attribute_mapping["RCU01_Band1_R"] = {}
self._RCU_00_Att2_RW = 0 self._RCU01_Band1_RW = 0
self.attribute_mapping["_RCU_00_Att2_RW"] = {} self.attribute_mapping["RCU01_Band1_RW"] = {}
self._RCU_00_Pwr_dig_R = 0 self._RCU01_Band2_R = 0
self.attribute_mapping["_RCU_00_Pwr_dig_R"] = {} self.attribute_mapping["RCU01_Band2_R"] = {}
self._RCU_00_Pwr_dig_RW = 0 self._RCU01_Band2_RW = 0
self.attribute_mapping["_RCU_00_Pwr_dig_RW"] = {} self.attribute_mapping["RCU01_Band2_RW"] = {}
self._RCU_00_Pwr_Ant0_R = 0 self._RCU01_Band3_R = 0
self.attribute_mapping["_RCU_00_Pwr_Ant0_R"] = {} self.attribute_mapping["RCU01_Band3_R"] = {}
self._RCU_00_Pwr_Ant0_RW = 0 self._RCU01_Band3_RW = 0
self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"] = {} self.attribute_mapping["RCU01_Band3_RW"] = {}
self._RCU_00_Pwr_Ant1_R = 0 self._RCU01_Dither1_Frequency_R = 0
self.attribute_mapping["_RCU_00_Pwr_Ant1_R"] = {} self.attribute_mapping["RCU01_Dither1_Frequency_R"] = {}
self._RCU_00_Pwr_Ant1_RW = 0 self._RCU01_Dither1_Frequency_RW = 0
self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"] = {} self.attribute_mapping["RCU01_Dither1_Frequency_RW"] = {}
self._RCU_00_Pwr_Ant2_R = 0 self._RCU01_Dither2_Frequency_R = 0
self.attribute_mapping["_RCU_00_Pwr_Ant2_R"] = {} self.attribute_mapping["RCU01_Dither2_Frequency_R"] = {}
self._RCU_00_Pwr_Ant2_RW = 0 self._RCU01_Dither2_Frequency_RW = 0
self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"] = {} self.attribute_mapping["RCU01_Dither2_Frequency_RW"] = {}
self._RCU_00_Band0_R = 0 self._RCU01_LED0_R = 0
self.attribute_mapping["_RCU_00_Band0_R"] = {} self.attribute_mapping["RCU01_LED0_R"] = {}
self._RCU_00_Band0_RW = 0 self._RCU01_LED0_RW = 0
self.attribute_mapping["_RCU_00_Band0_RW"] = {} self.attribute_mapping["RCU01_LED0_RW"] = {}
self._RCU_00_Band1_R = 0 self._RCU01_Pwr_dig_R = 0
self.attribute_mapping["_RCU_00_Band1_R"] = {} self.attribute_mapping["RCU01_Pwr_dig_R"] = {}
self._RCU_00_Band1_RW = 0 self._RCU01_Pwr_dig_RW = 0
self.attribute_mapping["_RCU_00_Band1_RW"] = {} self.attribute_mapping["RCU01_Pwr_dig_RW"] = {}
self._RCU_00_Band2_R = 0 self._RCU01_Temp_R = 0
self.attribute_mapping["_RCU_00_Band2_R"] = {} self.attribute_mapping["RCU01_Temp_R"] = {}
self._RCU_00_Band2_RW = 0 self._RCU01_Temp_RW = 0
self.attribute_mapping["_RCU_00_Band2_RW"] = {} self.attribute_mapping["RCU01_Temp_RW"] = {}
self._RCU_00_LED0_R = 0
self.attribute_mapping["_RCU_00_LED0_R"] = {}
self._RCU_00_LED0_RW = 0
self.attribute_mapping["_RCU_00_LED0_RW"] = {}
self._RCU_00_LED1_R = 0
self.attribute_mapping["_RCU_00_LED1_R"] = {}
self._RCU_00_LED1_RW = 0
self.attribute_mapping["_RCU_00_LED1_RW"] = {}
self._RCU_00_ADC_lock0_R = 0
self.attribute_mapping["_RCU_00_ADC_lock0_R"] = {}
self._RCU_00_ADC_lock1_R = 0
self.attribute_mapping["_RCU_00_ADC_lock1_R"] = {}
self._RCU_00_ADC_lock2_R = 0
self.attribute_mapping["_RCU_00_ADC_lock2_R"] = {}
self._RCU_00_V_2v5_R = 0
self.attribute_mapping["_RCU_00_V_2v5_R"] = {}
self._RCU_00_I_Ant0_R = 0
self.attribute_mapping["_RCU_00_I_Ant0_R"] = {}
self._RCU_00_I_Ant1_R = 0
self.attribute_mapping["_RCU_00_I_Ant1_R"] = {}
self._RCU_00_I_Ant2_R = 0
self.attribute_mapping["_RCU_00_I_Ant2_R"] = {}
# Set defaults to property values. # Set defaults to property values.
...@@ -347,74 +270,58 @@ class RCUSCC(Device): ...@@ -347,74 +270,58 @@ class RCUSCC(Device):
self.name_space_index = 2 self.name_space_index = 2
self.obj_node = self.client.get_objects_node() self.obj_node = self.client.get_objects_node()
self.pcc_node = self.pcc_node.get_child([ "{}:PCC".format(self.name_space_index)])
self.debug_stream("Mapping OPC-UA MP/CP to attributes...") self.debug_stream("Mapping OPC-UA MP/CP to attributes...")
self.attribute_mapping["_time_offset_rw"] = self.obj_node.get_child([ "{}:time_offset".format(self.name_space_index), "{}:time_offset_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att1_R"] = self.pcc_node.get_child(["{}:RCU01_Att1_R".format(self.name_space_index)])
self.attribute_mapping["_time_offset_r"] = self.obj_node.get_child([ "{}:time_offset".format(self.name_space_index), "{}:time_offset_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att0_R"] = self.obj_node.get_child([ "{}:RCU_00_Att0_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att1_RW"] = self.pcc_node.get_child(["{}:RCU01_Att1_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att0_RW"] = self.obj_node.get_child([ "{}:RCU_00_Att0_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att2_R"] = self.pcc_node.get_child(["{}:RCU01_Att2_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att1_R"] = self.obj_node.get_child([ "{}:RCU_00_Att1_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att3_RW"] = self.pcc_node.get_child(["{}:RCU01_Att3_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att1_RW"] = self.obj_node.get_child([ "{}:RCU_00_Att1_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att1_R"] = self.pcc_node.get_child(["{}:RCU01_Att1_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att2_R"] = self.obj_node.get_child([ "{}:RCU_00_Att2_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Att1_RW"] = self.pcc_node.get_child(["{}:RCU01_Att1_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Att2_RW"] = self.obj_node.get_child([ "{}:RCU_00_Att2_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band1_R"] = self.pcc_node.get_child(["{}:RCU01_Band1_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_dig_R"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_dig_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band1_RW"] = self.pcc_node.get_child(["{}:RCU01_Band1_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_dig_RW"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_dig_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band2_R"] = self.pcc_node.get_child(["{}:RCU01_Band2_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant0_R"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant0_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band2_RW"] = self.pcc_node.get_child(["{}:RCU01_Band2_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant0_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band3_R"] = self.pcc_node.get_child(["{}:RCU01_Band3_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant1_R"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant1_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Band3_RW"] = self.pcc_node.get_child(["{}:RCU01_Band3_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant1_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Dither1_Frequency_R"] = self.pcc_node.get_child(["{}:RCU01_Dither1_Frequency_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant2_R"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant2_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Dither1_Frequency_RW"] = self.pcc_node.get_child(["{}:RCU01_Dither1_Frequency_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"] = self.obj_node.get_child([ "{}:RCU_00_Pwr_Ant2_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Dither2_Frequency_R"] = self.pcc_node.get_child(["{}:RCU01_Dither2_Frequency_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band0_R"] = self.obj_node.get_child([ "{}:RCU_00_Band0_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Dither2_Frequency_RW"] = self.pcc_node.get_child(["{}:RCU01_Dither2_Frequency_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band0_RW"] = self.obj_node.get_child([ "{}:RCU_00_Band0_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_LED0_R"] = self.obj_node.get_child([ "{}:RCU01_LED0_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band1_R"] = self.obj_node.get_child([ "{}:RCU_00_Band1_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_LED0_RW"] = self.obj_node.get_child([ "{}:RCU01_LED0_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band1_RW"] = self.obj_node.get_child([ "{}:RCU_00_Band1_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Pwr_dig_R"] = self.pcc_node.get_child([ "{}:RCU01_Pwr_dig_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band2_R"] = self.obj_node.get_child([ "{}:RCU_00_Band2_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Pwr_dig_RW"] = self.pcc_node.get_child([ "{}:_RCU01_Pwr_dig_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_Band2_RW"] = self.obj_node.get_child([ "{}:RCU_00_Band2_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_Temp_R"] = self.pcc_node.get_child([ "{}:RCU01_Temp_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_LED0_R"] = self.obj_node.get_child([ "{}:RCU_00_LED0_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_Temp_RW"] = self.pcc_node.get_child([ "{}:RCU01_Temp_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_LED0_RW"] = self.obj_node.get_child([ "{}:RCU_00_LED0_RW".format(self.name_space_index)]) self.attribute_mapping["RCU01_RCU_off"] = self.pcc_node.get_child([ "{}:RCU01_RCU_off".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_LED1_R"] = self.obj_node.get_child([ "{}:RCU_00_LED1_R".format(self.name_space_index)]) self.attribute_mapping["RCU01_RCU_on"] = self.pcc_node.get_child([ "{}:RCU01_RCU_on".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_LED1_RW"] = self.obj_node.get_child([ "{}:RCU_00_LED1_RW".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_ADC_lock0_R"] = self.obj_node.get_child([ "{}:RCU_00_ADC_lock0_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_ADC_lock1_R"] = self.obj_node.get_child([ "{}:RCU_00_ADC_lock1_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_ADC_lock2_R"] = self.obj_node.get_child([ "{}:RCU_00_ADC_lock2_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_V_2v5_R"] = self.obj_node.get_child([ "{}:RCU_00_V_2v5_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_I_Ant0_R"] = self.obj_node.get_child([ "{}:RCU_00_I_Ant0_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_I_Ant1_R"] = self.obj_node.get_child([ "{}:RCU_00_I_Ant1_R".format(self.name_space_index)])
self.attribute_mapping["_RCU_00_I_Ant2_R"] = self.obj_node.get_child([ "{}:RCU_00_I_Ant2_R".format(self.name_space_index)])
self.debug_stream("Mapping OPC-UA MP/CP to attributes done.") self.debug_stream("Mapping OPC-UA MP/CP to attributes done.")
self.set_state(DevState.ON) self.set_state(DevState.ON)
...@@ -449,325 +356,216 @@ class RCUSCC(Device): ...@@ -449,325 +356,216 @@ class RCUSCC(Device):
# Attributes methods # Attributes methods
# ------------------ # ------------------
def read_time_offset_rw(self): def read_RCU01_Att1_R(self):
# PROTECTED REGION ID(RCUSCC.time_offset_rw_read) ENABLED START # # PROTECTED REGION ID(RCUSCC.RCU01_Att1_R_read) ENABLED START #
"""Return the time_offset_rw attribute.""" """Return the RCU01_Att1_R attribute."""
return self._time_offset_rw self._RCU01_Att1_R = self.attribute_mapping["RCU01_Att1_R"].get_value()
# PROTECTED REGION END # // RCUSCC.time_offset_rw_read return self._RCU01_Att1_R
# PROTECTED REGION END # // RCUSCC.RCU01_Att1_R_read
def write_time_offset_rw(self, value):
# PROTECTED REGION ID(RCUSCC.time_offset_rw_write) ENABLED START # def read_RCU01_Att1_RW(self):
"""Set the time_offset_rw attribute.""" # PROTECTED REGION ID(RCUSCC.RCU01_Att1_RW_read) ENABLED START #
self.attribute_mapping["_time_offset_rw"].set_value(value) """Return the RCU01_Att1_R attribute."""
self._time_offset_rw = value self._RCU01_Att1_RW = self.attribute_mapping["RCU01_Att1_RW"].get_value()
# PROTECTED REGION END # // RCUSCC.time_offset_rw_write return self._RCU01_Att1_RW
# PROTECTED REGION END # // RCUSCC.RCU01_Att1_RW_read
def read_time_offset_r(self):
# PROTECTED REGION ID(RCUSCC.time_offset_r_read) ENABLED START # def write_RCU01_Att1_RW(self, value):
"""Return the time_offset_r attribute.""" # PROTECTED REGION ID(RCUSCC.RCU01_Att1_RW_write) ENABLED START #
self._time_offset_r = self.attribute_mapping["_time_offset_r"].get_value() """Set the RCU01_Att1_RW attribute."""
return self._time_offset_r self.attribute_mapping["RCU01_Att1_RW"].set_value(value)
# PROTECTED REGION END # // RCUSCC.time_offset_r_read self._RCU01_Att1_RW = value
# PROTECTED REGION END # // RCUSCC.RCU01_Att1_RW_write
def read_RCU_00_Att0_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_Att0_R_read) ENABLED START # def read_RCU01_Att2_R(self):
"""Return the RCU_00_Att0_R attribute.""" # PROTECTED REGION ID(RCUSCC.RCU01_Att2_R_read) ENABLED START #
self._RCU_00_Att0_R = self.attribute_mapping["_RCU_00_Att0_R"].get_value() """Return the RCU01_Att2_R attribute."""
return self._RCU_00_Att0_R self._RCU01_Att2_R = self.attribute_mapping["RCU01_Att2_R"].get_value()
# PROTECTED REGION END # // RCUSCC.RCU_00_Att0_R_read return self._RCU01_Att2_R
# PROTECTED REGION END # // RCUSCC.RCU01_Att2_R_read
def read_RCU_00_Att0_RW(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_Att0_RW_read) ENABLED START # def read_RCU01_Att2_RW(self):
"""Return the RCU_00_Att0_RW attribute.""" # PROTECTED REGION ID(RCUSCC.RCU01_Att2_RW_read) ENABLED START #
return self._RCU_00_Att0_RW """Return the RCU01_Att2_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att0_RW_read self._RCU01_Att2_RW = self.attribute_mapping["RCU01_Att2_RW"].get_value()
return self._RCU01_Att2_RW
def write_RCU_00_Att0_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Att2_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Att0_RW_write) ENABLED START #
"""Set the RCU_00_Att0_RW attribute.""" def write_RCU01_Att2_RW(self, value):
self.attribute_mapping["_RCU_00_Att0_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Att2_RW_write) ENABLED START #
self._RCU_00_Att0_RW = value """Set the RCU01_Att2_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att0_RW_write self.attribute_mapping["RCU01_Att2_RW"].set_value(value)
self._RCU01_Att2_RW = value
def read_RCU_00_Att1_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Att2_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Att1_R_read) ENABLED START #
"""Return the RCU_00_Att1_R attribute.""" def read_RCU01_Att3_R(self):
self._RCU_00_Att1_R = self.attribute_mapping["_RCU_00_Att1_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Att3_R_read) ENABLED START #
return self._RCU_00_Att1_R """Return the RCU01_Att3_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att1_R_read self._RCU01_Att3_R = self.attribute_mapping["RCU01_Att3_R"].get_value()
return self._RCU01_Att3_R
def read_RCU_00_Att1_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Att3_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Att1_RW_read) ENABLED START #
"""Return the RCU_00_Att1_RW attribute.""" def read_RCU01_Att3_RW(self):
self._RCU_00_Att1_RW = self.attribute_mapping["_RCU_00_Att1_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Att3_RW_read) ENABLED START #
return self._RCU_00_Att1_RW """Return the RCU01_Att3_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att1_RW_read self._RCU01_Att3_RW = self.attribute_mapping["RCU01_Att3_RW"].get_value()
return self._RCU01_Att3_RW
def write_RCU_00_Att1_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Att3_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Att1_RW_write) ENABLED START #
"""Set the RCU_00_Att1_RW attribute.""" def write_RCU01_Att3_RW(self, value):
self.attribute_mapping["_RCU_00_Att1_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Att3_RW_write) ENABLED START #
self._RCU_00_Att1_RW = value """Set the RCU01_Att3_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att1_RW_write self.attribute_mapping["RCU01_Att3_RW"].set_value(value)
self._RCU01_Att3_RW = value
def read_RCU_00_Att2_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Att3_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Att2_R_read) ENABLED START #
"""Return the RCU_00_Att2_R attribute.""" def read_RCU01_Band1_R(self):
self._RCU_00_Att2_R = self.attribute_mapping["_RCU_00_Att2_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Band1_R_read) ENABLED START #
return self._RCU_00_Att2_R """Return the RCU01_Band1_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att2_R_read self._RCU01_Band1_R = self.attribute_mapping["RCU01_Band1_R"].get_value()
return self._RCU01_Band1_R
def read_RCU_00_Att2_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Band1_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Att2_RW_read) ENABLED START #
"""Return the RCU_00_Att2_RW attribute.""" def read_RCU01_Band1_RW(self):
self._RCU_00_Att2_RW = self.attribute_mapping["_RCU_00_Att2_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Band1_RW_read) ENABLED START #
return self._RCU_00_Att2_RW """Return the RCU01_Band1_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att2_RW_read self._RCU01_Band1_RW = self.attribute_mapping["RCU01_Band1_RW"].get_value()
return self._RCU01_Band1_RW
def write_RCU_00_Att2_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Band1_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Att2_RW_write) ENABLED START #
"""Set the RCU_00_Att2_RW attribute.""" def write_RCU01_Band1_RW(self, value):
self.attribute_mapping["_RCU_00_Att2_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Band1_RW_write) ENABLED START #
self._RCU_00_Att2_RW = value """Set the RCU01_Band1_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Att2_RW_write self.attribute_mapping["RCU01_Band1_RW"].set_value(value)
self._RCU01_Band1_RW = value
def read_RCU_00_Pwr_dig_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Band1_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_R_read) ENABLED START #
"""Return the RCU_00_Pwr_dig_R attribute.""" def read_RCU01_Band2_R(self):
self._RCU_00_Pwr_dig_R = self.attribute_mapping["_RCU_00_Pwr_dig_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Band2_R_read) ENABLED START #
return self._RCU_00_Pwr_dig_R """Return the RCU01_Band2_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_R_read self._RCU01_Band2_R = self.attribute_mapping["RCU01_Band2_R"].get_value()
return self._RCU01_Band2_R
def read_RCU_00_Pwr_dig_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Band2_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_RW_read) ENABLED START #
"""Return the RCU_00_Pwr_dig_RW attribute.""" def read_RCU01_Band2_RW(self):
self._RCU_00_Pwr_dig_RW = self.attribute_mapping["_RCU_00_Pwr_dig_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Band2_RW_read) ENABLED START #
return self._RCU_00_Pwr_dig_RW """Return the RCU01_Band2_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_RW_read self._RCU01_Band2_RW = self.attribute_mapping["RCU01_Band2_RW"].get_value()
return self._RCU01_Band2_RW
def write_RCU_00_Pwr_dig_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Band2_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_RW_write) ENABLED START #
"""Set the RCU_00_Pwr_dig_RW attribute.""" def write_RCU01_Band2_RW(self, value):
self.attribute_mapping["_RCU_00_Pwr_dig_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Band2_RW_write) ENABLED START #
self._RCU_00_Pwr_dig_RW = value """Set the RCU01_Band2_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_RW_write self.attribute_mapping["RCU01_Band2_RW"].set_value(value)
self._RCU01_Band2_RW = value
def read_RCU_00_Pwr_Ant0_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Band2_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_R_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant0_R attribute.""" def read_RCU01_Dither1_Frequency_R(self):
self._RCU_00_Pwr_Ant0_R = self.attribute_mapping["_RCU_00_Pwr_Ant0_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_R_read) ENABLED START #
return self._RCU_00_Pwr_Ant0_R """Return the RCU01_Dither1_Frequency_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_R_read self._RCU01_Dither1_Frequency_R = self.attribute_mapping["RCU01_Dither1_Frequency_R"].get_value()
return self._RCU01_Dither1_Frequency_R
def read_RCU_00_Pwr_Ant0_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_RW_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant0_RW attribute.""" def read_RCU01_Dither1_Frequency_RW(self):
self._RCU_00_Pwr_Ant0_RW = self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_RW_read) ENABLED START #
return self._RCU_00_Pwr_Ant0_RW """Return the RCU01_Dither1_Frequency_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_RW_read self._RCU01_Dither1_Frequency_RW = self.attribute_mapping["RCU01_Dither1_Frequency_RW"].get_value()
return self._RCU01_Dither1_Frequency_RW
def write_RCU_00_Pwr_Ant0_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_RW_write) ENABLED START #
"""Set the RCU_00_Pwr_Ant0_RW attribute.""" def write_RCU01_Dither1_Frequency_RW(self, value):
self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_RW_write) ENABLED START #
self._RCU_00_Pwr_Ant0_RW = value """Set the RCU01_Dither1_Frequency_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_RW_write self.attribute_mapping["RCU01_Dither1_Frequency_RW"].set_value(value)
self._RCU01_Dither1_Frequency_RW = value
def read_RCU_00_Pwr_Ant1_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_R_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant1_R attribute.""" def read_RCU01_Dither2_Frequency_R(self):
self._RCU_00_Pwr_Ant1_R = self.attribute_mapping["_RCU_00_Pwr_Ant1_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_R_read) ENABLED START #
return self._RCU_00_Pwr_Ant1_R """Return the RCU01_Dither2_Frequency_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_R_read self._RCU01_Dither2_Frequency_R = self.attribute_mapping["RCU01_Dither2_Frequency_R"].get_value()
return self._RCU01_Dither2_Frequency_R
def read_RCU_00_Pwr_Ant1_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_RW_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant1_RW attribute.""" def read_RCU01_Dither2_Frequency_RW(self):
self._RCU_00_Pwr_Ant1_RW = self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_RW_read) ENABLED START #
return self._RCU_00_Pwr_Ant1_RW """Return the RCU01_Dither2_Frequency_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_RW_read self._RCU01_Dither2_Frequency_RW = self.attribute_mapping["RCU01_Dither2_Frequency_RW"].get_value()
return self._RCU01_Dither2_Frequency_RW
def write_RCU_00_Pwr_Ant1_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_RW_write) ENABLED START #
"""Set the RCU_00_Pwr_Ant1_RW attribute.""" def write_RCU01_Dither2_Frequency_RW(self, value):
self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_RW_write) ENABLED START #
self._RCU_00_Pwr_Ant1_RW = value """Set the RCU01_Dither2_Frequency_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_RW_write self.attribute_mapping["RCU01_Dither2_Frequency_RW"].set_value(value)
self._RCU01_Dither2_Frequency_RW = value
def read_RCU_00_Pwr_Ant2_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_R_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant2_R attribute.""" def read_RCU01_LED0_R(self):
self._RCU_00_Pwr_Ant2_R = self.attribute_mapping["_RCU_00_Pwr_Ant2_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_LED0_R_read) ENABLED START #
return self._RCU_00_Pwr_Ant2_R """Return the RCU01_LED0_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_R_read self._RCU01_LED0_R = self.attribute_mapping["RCU01_LED0_R"].get_value()
return self._RCU01_LED0_R
def read_RCU_00_Pwr_Ant2_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_LED0_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_RW_read) ENABLED START #
"""Return the RCU_00_Pwr_Ant2_RW attribute.""" def read_RCU01_LED0_RW(self):
self._RCU_00_Pwr_Ant2_RW = self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_LED0_RW_read) ENABLED START #
return self._RCU_00_Pwr_Ant2_RW """Return the RCU01_LED0_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_RW_read self._RCU01_LED0_RW = self.attribute_mapping["RCU01_LED0_RW"].get_value()
return self._RCU01_LED0_RW
def write_RCU_00_Pwr_Ant2_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_LED0_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_RW_write) ENABLED START #
"""Set the RCU_00_Pwr_Ant2_RW attribute.""" def write_RCU01_LED0_RW(self, value):
self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_LED0_RW_write) ENABLED START #
self._RCU_00_Pwr_Ant2_RW = value """Set the RCU01_LED0_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_RW_write self.attribute_mapping["RCU01_LED0_RW"].set_value(value)
self._RCU01_LED0_RW = value
def read_RCU_00_Band0_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_LED0_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Band0_R_read) ENABLED START #
"""Return the RCU_00_Band0_R attribute.""" def read_RCU01_Pwr_dig_R(self):
self._RCU_00_Band0_R = self.attribute_mapping["_RCU_00_Band0_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_R_read) ENABLED START #
return self._RCU_00_Band0_R """Return the RCU01_Pwr_dig_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band0_R_read self._RCU01_Pwr_dig_R = self.attribute_mapping["RCU01_Pwr_dig_R"].get_value()
return self._RCU01_Pwr_dig_R
def read_RCU_00_Band0_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Band0_RW_read) ENABLED START #
"""Return the RCU_00_Band0_RW attribute.""" def read_RCU01_Pwr_dig_RW(self):
self._RCU_00_Band0_RW = self.attribute_mapping["_RCU_00_Band0_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_RW_read) ENABLED START #
return self._RCU_00_Band0_RW """Return the RCU01_Pwr_dig_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band0_RW_read self._RCU01_Pwr_dig_RW = self.attribute_mapping["RCU01_Pwr_dig_RW"].get_value()
return self._RCU01_Pwr_dig_RW
def write_RCU_00_Band0_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Band0_RW_write) ENABLED START #
"""Set the RCU_00_Band0_RW attribute.""" def write_RCU01_Pwr_dig_RW(self, value):
self.attribute_mapping["_RCU_00_Band0_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_RW_write) ENABLED START #
self._RCU_00_Band0_RW = value """Set the RCU01_Pwr_dig_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band0_RW_write self.attribute_mapping["RCU01_Pwr_dig_RW"].set_value(value)
self._RCU01_Pwr_dig_RW = value
def read_RCU_00_Band1_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Band1_R_read) ENABLED START #
"""Return the RCU_00_Band1_R attribute.""" def read_RCU01_Temp_R(self):
self._RCU_00_Band1_R = self.attribute_mapping["_RCU_00_Band1_R"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Temp_R_read) ENABLED START #
return self._RCU_00_Band1_R """Return the RCU01_Temp_R attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band1_R_read self._RCU01_Temp_R = self.attribute_mapping["RCU01_Temp_R"].get_value()
return self._RCU01_Temp_R
def read_RCU_00_Band1_RW(self): # PROTECTED REGION END # // RCUSCC.RCU01_Temp_R_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Band1_RW_read) ENABLED START #
"""Return the RCU_00_Band1_RW attribute.""" def read_RCU01_Temp_RW(self):
self._RCU_00_Band1_RW = self.attribute_mapping["_RCU_00_Band1_RW"].get_value() # PROTECTED REGION ID(RCUSCC.RCU01_Temp_RW_read) ENABLED START #
return self._RCU_00_Band1_RW """Return the RCU01_Temp_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band1_RW_read self._RCU01_Temp_RW = self.attribute_mapping["RCU01_Temp_RW"].get_value()
return self._RCU01_Temp_RW
def write_RCU_00_Band1_RW(self, value): # PROTECTED REGION END # // RCUSCC.RCU01_Temp_RW_read
# PROTECTED REGION ID(RCUSCC.RCU_00_Band1_RW_write) ENABLED START #
"""Set the RCU_00_Band1_RW attribute.""" def write_RCU01_Temp_RW(self, value):
self.attribute_mapping["_RCU_00_Band1_RW"].set_value(value) # PROTECTED REGION ID(RCUSCC.RCU01_Temp_RW_write) ENABLED START #
self._RCU_00_Band1_RW = value """Set the RCU01_Temp_RW attribute."""
# PROTECTED REGION END # // RCUSCC.RCU_00_Band1_RW_write self.attribute_mapping["RCU01_Temp_RW"].set_value(value)
self._RCU01_Temp_RW = value
def read_RCU_00_Band2_R(self): # PROTECTED REGION END # // RCUSCC.RCU01_Temp_RW_write
# PROTECTED REGION ID(RCUSCC.RCU_00_Band2_R_read) ENABLED START #
"""Return the RCU_00_Band2_R attribute."""
self._RCU_00_Band2_R = self.attribute_mapping["_RCU_00_Band2_R"].get_value()
return self._RCU_00_Band2_R
# PROTECTED REGION END # // RCUSCC.RCU_00_Band2_R_read
def read_RCU_00_Band2_RW(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_Band2_RW_read) ENABLED START #
"""Return the RCU_00_Band2_RW attribute."""
self._RCU_00_Band2_RW = self.attribute_mapping["_RCU_00_Band2_RW"].get_value()
return self._RCU_00_Band2_RW
# PROTECTED REGION END # // RCUSCC.RCU_00_Band2_RW_read
def write_RCU_00_Band2_RW(self, value):
# PROTECTED REGION ID(RCUSCC.RCU_00_Band2_RW_write) ENABLED START #
"""Set the RCU_00_Band2_RW attribute."""
self.attribute_mapping["_RCU_00_Band2_RW"].set_value(value)
self._RCU_00_Band2_RW = value
# PROTECTED REGION END # // RCUSCC.RCU_00_Band2_RW_write
def read_RCU_00_LED0_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED0_R_read) ENABLED START #
"""Return the RCU_00_LED0_R attribute."""
self._RCU_00_LED0_R = self.attribute_mapping["_RCU_00_LED0_R"].get_value()
return self._RCU_00_LED0_R
# PROTECTED REGION END # // RCUSCC.RCU_00_LED0_R_read
def read_RCU_00_LED0_RW(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED0_RW_read) ENABLED START #
"""Return the RCU_00_LED0_RW attribute."""
self._RCU_00_LED0_RW = self.attribute_mapping["_RCU_00_LED0_RW"].get_value()
return self._RCU_00_LED0_RW
# PROTECTED REGION END # // RCUSCC.RCU_00_LED0_RW_read
def write_RCU_00_LED0_RW(self, value):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED0_RW_write) ENABLED START #
"""Set the RCU_00_LED0_RW attribute."""
self.attribute_mapping["_RCU_00_LED0_RW"].set_value(value)
self._RCU_00_LED0_RW = value
# PROTECTED REGION END # // RCUSCC.RCU_00_LED0_RW_write
def read_RCU_00_LED1_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED1_R_read) ENABLED START #
"""Return the RCU_00_LED1_R attribute."""
self._RCU_00_LED1_R = self.attribute_mapping["_RCU_00_LED1_R"].get_value()
return self._RCU_00_LED1_R
# PROTECTED REGION END # // RCUSCC.RCU_00_LED1_R_read
def read_RCU_00_LED1_RW(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED1_RW_read) ENABLED START #
"""Return the RCU_00_LED1_RW attribute."""
self._RCU_00_LED1_RW = self.attribute_mapping["_RCU_00_LED1_RW"].get_value()
return self._RCU_00_LED1_RW
# PROTECTED REGION END # // RCUSCC.RCU_00_LED1_RW_read
def write_RCU_00_LED1_RW(self, value):
# PROTECTED REGION ID(RCUSCC.RCU_00_LED1_RW_write) ENABLED START #
"""Set the RCU_00_LED1_RW attribute."""
self.attribute_mapping["_RCU_00_LED1_RW"].set_value(value)
self._RCU_00_LED1_RW = value
# PROTECTED REGION END # // RCUSCC.RCU_00_LED1_RW_write
def read_RCU_00_ADC_lock0_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_ADC_lock0_R_read) ENABLED START #
"""Return the RCU_00_ADC_lock0_R attribute."""
self._RCU_00_ADC_lock0_R = self.attribute_mapping["_RCU_00_ADC_lock0_R"].get_value()
return self._RCU_00_ADC_lock0_R
# PROTECTED REGION END # // RCUSCC.RCU_00_ADC_lock0_R_read
def read_RCU_00_ADC_lock1_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_ADC_lock1_R_read) ENABLED START #
"""Return the RCU_00_ADC_lock1_R attribute."""
self._RCU_00_ADC_lock1_R = self.attribute_mapping["_RCU_00_ADC_lock1_R"].get_value()
return self._RCU_00_ADC_lock1_R
# PROTECTED REGION END # // RCUSCC.RCU_00_ADC_lock1_R_read
def read_RCU_00_ADC_lock2_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_ADC_lock2_R_read) ENABLED START #
"""Return the RCU_00_ADC_lock2_R attribute."""
self._RCU_00_ADC_lock2_R = self.attribute_mapping["_RCU_00_ADC_lock2_R"].get_value()
return self._RCU_00_ADC_lock2_R
# PROTECTED REGION END # // RCUSCC.RCU_00_ADC_lock2_R_read
def read_RCU_00_V_2v5_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_V_2v5_R_read) ENABLED START #
"""Return the RCU_00_V_2v5_R attribute."""
self._RCU_00_V_2v5_R = self.attribute_mapping["_RCU_00_V_2v5_R"].get_value()
return self._RCU_00_V_2v5_R
# PROTECTED REGION END # // RCUSCC.RCU_00_V_2v5_R_read
def read_RCU_00_I_Ant0_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_I_Ant0_R_read) ENABLED START #
"""Return the RCU_00_I_Ant0_R attribute."""
self._RCU_00_I_Ant0_R = self.attribute_mapping["_RCU_00_I_Ant0_R"].get_value()
return self._RCU_00_I_Ant0_R
# PROTECTED REGION END # // RCUSCC.RCU_00_I_Ant0_R_read
def read_RCU_00_I_Ant1_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_I_Ant1_R_read) ENABLED START #
"""Return the RCU_00_I_Ant1_R attribute."""
self._RCU_00_I_Ant1_R = self.attribute_mapping["_RCU_00_I_Ant1_R"].get_value()
return self._RCU_00_I_Ant1_R
# PROTECTED REGION END # // RCUSCC.RCU_00_I_Ant1_R_read
def read_RCU_00_I_Ant2_R(self):
# PROTECTED REGION ID(RCUSCC.RCU_00_I_Ant2_R_read) ENABLED START #
"""Return the RCU_00_I_Ant2_R attribute."""
self._RCU_00_I_Ant2_R = self.attribute_mapping["_RCU_00_I_Ant2_R"].get_value()
return self._RCU_00_I_Ant2_R
# PROTECTED REGION END # // RCUSCC.RCU_00_I_Ant2_R_read
# -------- # --------
# Commands # Commands
...@@ -809,6 +607,30 @@ class RCUSCC(Device): ...@@ -809,6 +607,30 @@ class RCUSCC(Device):
self.set_state(DevState.INIT) self.set_state(DevState.INIT)
# PROTECTED REGION END # // RCUSCC.Init # PROTECTED REGION END # // RCUSCC.Init
@command(
)
@DebugIt()
def RCU01_RCU_off(self):
# PROTECTED REGION ID(RCUSCC.RCU01_RCU_off) ENABLED START #
"""
:return:None
"""
self.attribute_mapping["RCU01_RCU_off"]()
# PROTECTED REGION END # // RCUSCC.RCU01_RCU_off
@command(
)
@DebugIt()
def RCU01_RCU_on(self):
# PROTECTED REGION ID(RCUSCC.RCU01_RCU_on) ENABLED START #
"""
:return:None
"""
self.attribute_mapping["RCU01_RCU_on"]()
# PROTECTED REGION END # // RCUSCC.RCU01_RCU_on
# ---------- # ----------
# Run server # Run server
# ---------- # ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment