From 2c205e258d0f60c6529b6e9fafbd8f9e51d9ccdc Mon Sep 17 00:00:00 2001 From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl> Date: Thu, 19 Nov 2020 18:51:52 +0100 Subject: [PATCH] Modify attributes and calls to match Paulus' OPC-US server --- RCUSCC/RCUSCC/RCUSCC.py | 860 ++++++++++++++++------------------------ 1 file changed, 341 insertions(+), 519 deletions(-) diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py index b8149a6a0..9db2f942b 100644 --- a/RCUSCC/RCUSCC/RCUSCC.py +++ b/RCUSCC/RCUSCC/RCUSCC.py @@ -22,6 +22,7 @@ from tango import AttrQuality, DispLevel, DevState from tango import AttrWriteType, PipeWriteType # Additional import # PROTECTED REGION ID(RCUSCC.additionnal_import) ENABLED START # +import sys import opcua import traceback # PROTECTED REGION END # // RCUSCC.additionnal_import @@ -71,150 +72,105 @@ class RCUSCC(Device): # Attributes # ---------- - time_offset_rw = attribute( + RCU01_Att1_R = attribute( dtype='DevLong64', - access=AttrWriteType.READ_WRITE, ) - time_offset_r = attribute( + RCU01_Att1_RW = attribute( dtype='DevLong64', - ) - - RCU_00_Att0_R = attribute( - dtype='DevDouble', - ) - - RCU_00_Att0_RW = attribute( - dtype='DevDouble', access=AttrWriteType.READ_WRITE, ) - RCU_00_Att1_R = attribute( - dtype='DevDouble', - ) - - RCU_00_Att1_RW = attribute( - dtype='DevDouble', - access=AttrWriteType.READ_WRITE, - ) - - RCU_00_Att2_R = attribute( - dtype='DevDouble', + RCU01_Att2_R = attribute( + dtype='DevLong64', ) - RCU_00_Att2_RW = attribute( - dtype='DevDouble', + RCU01_Att2_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_Pwr_dig_R = attribute( - dtype='DevDouble', + RCU01_Att3_R = attribute( + dtype='DevLong64', ) - RCU_00_Pwr_dig_RW = attribute( - dtype='DevDouble', + RCU01_Att3_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_Pwr_Ant0_R = attribute( - dtype='DevDouble', + RCU01_Band1_R = attribute( + dtype='DevLong64', ) - RCU_00_Pwr_Ant0_RW = attribute( - dtype='DevDouble', + RCU01_Band1_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_Pwr_Ant1_R = attribute( - dtype='DevDouble', + RCU01_Band2_R = attribute( + dtype='DevLong64', ) - RCU_00_Pwr_Ant1_RW = attribute( - dtype='DevDouble', + RCU01_Band2_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_Pwr_Ant2_R = attribute( - dtype='DevDouble', + RCU01_Band3_R = attribute( + dtype='DevLong64', ) - RCU_00_Pwr_Ant2_RW = attribute( - dtype='DevDouble', + RCU01_Band3_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_Band0_R = attribute( + RCU01_Dither1_Frequency_R = attribute( dtype='DevDouble', ) - RCU_00_Band0_RW = attribute( + RCU01_Dither1_Frequency_RW = attribute( dtype='DevDouble', access=AttrWriteType.READ_WRITE, ) - RCU_00_Band1_R = attribute( + RCU01_Dither2_Frequency_R = attribute( dtype='DevDouble', ) - RCU_00_Band1_RW = attribute( + RCU01_Dither2_Frequency_RW = attribute( dtype='DevDouble', access=AttrWriteType.READ_WRITE, ) - RCU_00_Band2_R = attribute( - dtype='DevDouble', + RCU01_LED0_R = attribute( + dtype='DevLong64', ) - RCU_00_Band2_RW = attribute( - dtype='DevDouble', + RCU01_LED0_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_LED0_R = attribute( - dtype='DevDouble', + RCU01_Pwr_dig_R = attribute( + dtype='DevLong64', ) - RCU_00_LED0_RW = attribute( - dtype='DevDouble', + RCU01_Pwr_dig_RW = attribute( + dtype='DevLong64', access=AttrWriteType.READ_WRITE, ) - RCU_00_LED1_R = attribute( + RCU01_Temp_R = attribute( dtype='DevDouble', ) - RCU_00_LED1_RW = attribute( + RCU01_Temp_RW = attribute( dtype='DevDouble', 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): # PROTECTED REGION ID(RCUSCC.init_device) ENABLED START # 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 = {} # Set default values in the RW/R attributes and add them to # the mapping. - self._time_offset_rw = 0 - self.attribute_mapping["_time_offset_rw"] = {} + self._RCU01_Att1_R = 0 + self.attribute_mapping["RCU01_Att1_R"] = {} - self._time_offset_r = 0 - self.attribute_mapping["_time_offset_r"] = {} + self._RCU01_Att1_RW = 0 + self.attribute_mapping["RCU01_Att1_RW"] = {} - self._RCU_00_Att0_R = 0 - self.attribute_mapping["_RCU_00_Att0_R"] = {} + self._RCU01_Att2_R = 0 + self.attribute_mapping["RCU01_Att2_R"] = {} - self._RCU_00_Att0_RW = 0 - self.attribute_mapping["_RCU_00_Att0_RW"] = {} + self._RCU01_Att2_RW = 0 + self.attribute_mapping["RCU01_Att2_RW"] = {} - self._RCU_00_Att1_R = 0 - self.attribute_mapping["_RCU_00_Att1_R"] = {} + self._RCU01_Att3_R = 0 + self.attribute_mapping["RCU01_Att3_R"] = {} - self._RCU_00_Att1_RW = 0 - self.attribute_mapping["_RCU_00_Att1_RW"] = {} + self._RCU01_Att3_RW = 0 + self.attribute_mapping["RCU01_Att3_RW"] = {} - self._RCU_00_Att2_R = 0 - self.attribute_mapping["_RCU_00_Att2_R"] = {} + self._RCU01_Band1_R = 0 + self.attribute_mapping["RCU01_Band1_R"] = {} - self._RCU_00_Att2_RW = 0 - self.attribute_mapping["_RCU_00_Att2_RW"] = {} + self._RCU01_Band1_RW = 0 + self.attribute_mapping["RCU01_Band1_RW"] = {} - self._RCU_00_Pwr_dig_R = 0 - self.attribute_mapping["_RCU_00_Pwr_dig_R"] = {} + self._RCU01_Band2_R = 0 + self.attribute_mapping["RCU01_Band2_R"] = {} - self._RCU_00_Pwr_dig_RW = 0 - self.attribute_mapping["_RCU_00_Pwr_dig_RW"] = {} + self._RCU01_Band2_RW = 0 + self.attribute_mapping["RCU01_Band2_RW"] = {} - self._RCU_00_Pwr_Ant0_R = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant0_R"] = {} + self._RCU01_Band3_R = 0 + self.attribute_mapping["RCU01_Band3_R"] = {} - self._RCU_00_Pwr_Ant0_RW = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"] = {} + self._RCU01_Band3_RW = 0 + self.attribute_mapping["RCU01_Band3_RW"] = {} - self._RCU_00_Pwr_Ant1_R = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant1_R"] = {} + self._RCU01_Dither1_Frequency_R = 0 + self.attribute_mapping["RCU01_Dither1_Frequency_R"] = {} - self._RCU_00_Pwr_Ant1_RW = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"] = {} + self._RCU01_Dither1_Frequency_RW = 0 + self.attribute_mapping["RCU01_Dither1_Frequency_RW"] = {} - self._RCU_00_Pwr_Ant2_R = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant2_R"] = {} + self._RCU01_Dither2_Frequency_R = 0 + self.attribute_mapping["RCU01_Dither2_Frequency_R"] = {} - self._RCU_00_Pwr_Ant2_RW = 0 - self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"] = {} + self._RCU01_Dither2_Frequency_RW = 0 + self.attribute_mapping["RCU01_Dither2_Frequency_RW"] = {} - self._RCU_00_Band0_R = 0 - self.attribute_mapping["_RCU_00_Band0_R"] = {} + self._RCU01_LED0_R = 0 + self.attribute_mapping["RCU01_LED0_R"] = {} - self._RCU_00_Band0_RW = 0 - self.attribute_mapping["_RCU_00_Band0_RW"] = {} + self._RCU01_LED0_RW = 0 + self.attribute_mapping["RCU01_LED0_RW"] = {} - self._RCU_00_Band1_R = 0 - self.attribute_mapping["_RCU_00_Band1_R"] = {} + self._RCU01_Pwr_dig_R = 0 + self.attribute_mapping["RCU01_Pwr_dig_R"] = {} - self._RCU_00_Band1_RW = 0 - self.attribute_mapping["_RCU_00_Band1_RW"] = {} + self._RCU01_Pwr_dig_RW = 0 + self.attribute_mapping["RCU01_Pwr_dig_RW"] = {} - self._RCU_00_Band2_R = 0 - self.attribute_mapping["_RCU_00_Band2_R"] = {} + self._RCU01_Temp_R = 0 + self.attribute_mapping["RCU01_Temp_R"] = {} - self._RCU_00_Band2_RW = 0 - self.attribute_mapping["_RCU_00_Band2_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"] = {} + self._RCU01_Temp_RW = 0 + self.attribute_mapping["RCU01_Temp_RW"] = {} # Set defaults to property values. @@ -347,74 +270,58 @@ class RCUSCC(Device): self.name_space_index = 2 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.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["_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["RCU01_Att1_R"] = self.pcc_node.get_child(["{}:RCU01_Att1_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.set_state(DevState.ON) @@ -449,325 +356,216 @@ class RCUSCC(Device): # Attributes methods # ------------------ - def read_time_offset_rw(self): - # PROTECTED REGION ID(RCUSCC.time_offset_rw_read) ENABLED START # - """Return the time_offset_rw attribute.""" - return self._time_offset_rw - # PROTECTED REGION END # // RCUSCC.time_offset_rw_read - - def write_time_offset_rw(self, value): - # PROTECTED REGION ID(RCUSCC.time_offset_rw_write) ENABLED START # - """Set the time_offset_rw attribute.""" - self.attribute_mapping["_time_offset_rw"].set_value(value) - self._time_offset_rw = value - # PROTECTED REGION END # // RCUSCC.time_offset_rw_write - - def read_time_offset_r(self): - # PROTECTED REGION ID(RCUSCC.time_offset_r_read) ENABLED START # - """Return the time_offset_r attribute.""" - self._time_offset_r = self.attribute_mapping["_time_offset_r"].get_value() - return self._time_offset_r - # PROTECTED REGION END # // RCUSCC.time_offset_r_read - - def read_RCU_00_Att0_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att0_R_read) ENABLED START # - """Return the RCU_00_Att0_R attribute.""" - self._RCU_00_Att0_R = self.attribute_mapping["_RCU_00_Att0_R"].get_value() - return self._RCU_00_Att0_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Att0_R_read - - def read_RCU_00_Att0_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att0_RW_read) ENABLED START # - """Return the RCU_00_Att0_RW attribute.""" - return self._RCU_00_Att0_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Att0_RW_read - - def write_RCU_00_Att0_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att0_RW_write) ENABLED START # - """Set the RCU_00_Att0_RW attribute.""" - self.attribute_mapping["_RCU_00_Att0_RW"].set_value(value) - self._RCU_00_Att0_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Att0_RW_write - - def read_RCU_00_Att1_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att1_R_read) ENABLED START # - """Return the RCU_00_Att1_R attribute.""" - self._RCU_00_Att1_R = self.attribute_mapping["_RCU_00_Att1_R"].get_value() - return self._RCU_00_Att1_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Att1_R_read - - def read_RCU_00_Att1_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att1_RW_read) ENABLED START # - """Return the RCU_00_Att1_RW attribute.""" - self._RCU_00_Att1_RW = self.attribute_mapping["_RCU_00_Att1_RW"].get_value() - return self._RCU_00_Att1_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Att1_RW_read - - def write_RCU_00_Att1_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att1_RW_write) ENABLED START # - """Set the RCU_00_Att1_RW attribute.""" - self.attribute_mapping["_RCU_00_Att1_RW"].set_value(value) - self._RCU_00_Att1_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Att1_RW_write - - def read_RCU_00_Att2_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att2_R_read) ENABLED START # - """Return the RCU_00_Att2_R attribute.""" - self._RCU_00_Att2_R = self.attribute_mapping["_RCU_00_Att2_R"].get_value() - return self._RCU_00_Att2_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Att2_R_read - - def read_RCU_00_Att2_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att2_RW_read) ENABLED START # - """Return the RCU_00_Att2_RW attribute.""" - self._RCU_00_Att2_RW = self.attribute_mapping["_RCU_00_Att2_RW"].get_value() - return self._RCU_00_Att2_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Att2_RW_read - - def write_RCU_00_Att2_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Att2_RW_write) ENABLED START # - """Set the RCU_00_Att2_RW attribute.""" - self.attribute_mapping["_RCU_00_Att2_RW"].set_value(value) - self._RCU_00_Att2_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Att2_RW_write - - def read_RCU_00_Pwr_dig_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_R_read) ENABLED START # - """Return the RCU_00_Pwr_dig_R attribute.""" - self._RCU_00_Pwr_dig_R = self.attribute_mapping["_RCU_00_Pwr_dig_R"].get_value() - return self._RCU_00_Pwr_dig_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_R_read - - def read_RCU_00_Pwr_dig_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_RW_read) ENABLED START # - """Return the RCU_00_Pwr_dig_RW attribute.""" - self._RCU_00_Pwr_dig_RW = self.attribute_mapping["_RCU_00_Pwr_dig_RW"].get_value() - return self._RCU_00_Pwr_dig_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_RW_read - - def write_RCU_00_Pwr_dig_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_dig_RW_write) ENABLED START # - """Set the RCU_00_Pwr_dig_RW attribute.""" - self.attribute_mapping["_RCU_00_Pwr_dig_RW"].set_value(value) - self._RCU_00_Pwr_dig_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_dig_RW_write - - def read_RCU_00_Pwr_Ant0_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_R_read) ENABLED START # - """Return the RCU_00_Pwr_Ant0_R attribute.""" - self._RCU_00_Pwr_Ant0_R = self.attribute_mapping["_RCU_00_Pwr_Ant0_R"].get_value() - return self._RCU_00_Pwr_Ant0_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_R_read - - def read_RCU_00_Pwr_Ant0_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_RW_read) ENABLED START # - """Return the RCU_00_Pwr_Ant0_RW attribute.""" - self._RCU_00_Pwr_Ant0_RW = self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"].get_value() - return self._RCU_00_Pwr_Ant0_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_RW_read - - def write_RCU_00_Pwr_Ant0_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant0_RW_write) ENABLED START # - """Set the RCU_00_Pwr_Ant0_RW attribute.""" - self.attribute_mapping["_RCU_00_Pwr_Ant0_RW"].set_value(value) - self._RCU_00_Pwr_Ant0_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant0_RW_write - - def read_RCU_00_Pwr_Ant1_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_R_read) ENABLED START # - """Return the RCU_00_Pwr_Ant1_R attribute.""" - self._RCU_00_Pwr_Ant1_R = self.attribute_mapping["_RCU_00_Pwr_Ant1_R"].get_value() - return self._RCU_00_Pwr_Ant1_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_R_read - - def read_RCU_00_Pwr_Ant1_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_RW_read) ENABLED START # - """Return the RCU_00_Pwr_Ant1_RW attribute.""" - self._RCU_00_Pwr_Ant1_RW = self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"].get_value() - return self._RCU_00_Pwr_Ant1_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_RW_read - - def write_RCU_00_Pwr_Ant1_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant1_RW_write) ENABLED START # - """Set the RCU_00_Pwr_Ant1_RW attribute.""" - self.attribute_mapping["_RCU_00_Pwr_Ant1_RW"].set_value(value) - self._RCU_00_Pwr_Ant1_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant1_RW_write - - def read_RCU_00_Pwr_Ant2_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_R_read) ENABLED START # - """Return the RCU_00_Pwr_Ant2_R attribute.""" - self._RCU_00_Pwr_Ant2_R = self.attribute_mapping["_RCU_00_Pwr_Ant2_R"].get_value() - return self._RCU_00_Pwr_Ant2_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_R_read - - def read_RCU_00_Pwr_Ant2_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_RW_read) ENABLED START # - """Return the RCU_00_Pwr_Ant2_RW attribute.""" - self._RCU_00_Pwr_Ant2_RW = self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"].get_value() - return self._RCU_00_Pwr_Ant2_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_RW_read - - def write_RCU_00_Pwr_Ant2_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Pwr_Ant2_RW_write) ENABLED START # - """Set the RCU_00_Pwr_Ant2_RW attribute.""" - self.attribute_mapping["_RCU_00_Pwr_Ant2_RW"].set_value(value) - self._RCU_00_Pwr_Ant2_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Pwr_Ant2_RW_write - - def read_RCU_00_Band0_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band0_R_read) ENABLED START # - """Return the RCU_00_Band0_R attribute.""" - self._RCU_00_Band0_R = self.attribute_mapping["_RCU_00_Band0_R"].get_value() - return self._RCU_00_Band0_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Band0_R_read - - def read_RCU_00_Band0_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band0_RW_read) ENABLED START # - """Return the RCU_00_Band0_RW attribute.""" - self._RCU_00_Band0_RW = self.attribute_mapping["_RCU_00_Band0_RW"].get_value() - return self._RCU_00_Band0_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Band0_RW_read - - def write_RCU_00_Band0_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band0_RW_write) ENABLED START # - """Set the RCU_00_Band0_RW attribute.""" - self.attribute_mapping["_RCU_00_Band0_RW"].set_value(value) - self._RCU_00_Band0_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Band0_RW_write - - def read_RCU_00_Band1_R(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band1_R_read) ENABLED START # - """Return the RCU_00_Band1_R attribute.""" - self._RCU_00_Band1_R = self.attribute_mapping["_RCU_00_Band1_R"].get_value() - return self._RCU_00_Band1_R - # PROTECTED REGION END # // RCUSCC.RCU_00_Band1_R_read - - def read_RCU_00_Band1_RW(self): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band1_RW_read) ENABLED START # - """Return the RCU_00_Band1_RW attribute.""" - self._RCU_00_Band1_RW = self.attribute_mapping["_RCU_00_Band1_RW"].get_value() - return self._RCU_00_Band1_RW - # PROTECTED REGION END # // RCUSCC.RCU_00_Band1_RW_read - - def write_RCU_00_Band1_RW(self, value): - # PROTECTED REGION ID(RCUSCC.RCU_00_Band1_RW_write) ENABLED START # - """Set the RCU_00_Band1_RW attribute.""" - self.attribute_mapping["_RCU_00_Band1_RW"].set_value(value) - self._RCU_00_Band1_RW = value - # PROTECTED REGION END # // RCUSCC.RCU_00_Band1_RW_write - - def read_RCU_00_Band2_R(self): - # 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 + def read_RCU01_Att1_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att1_R_read) ENABLED START # + """Return the RCU01_Att1_R attribute.""" + self._RCU01_Att1_R = self.attribute_mapping["RCU01_Att1_R"].get_value() + return self._RCU01_Att1_R + # PROTECTED REGION END # // RCUSCC.RCU01_Att1_R_read + + def read_RCU01_Att1_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att1_RW_read) ENABLED START # + """Return the RCU01_Att1_R attribute.""" + self._RCU01_Att1_RW = self.attribute_mapping["RCU01_Att1_RW"].get_value() + return self._RCU01_Att1_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Att1_RW_read + + def write_RCU01_Att1_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Att1_RW_write) ENABLED START # + """Set the RCU01_Att1_RW attribute.""" + self.attribute_mapping["RCU01_Att1_RW"].set_value(value) + self._RCU01_Att1_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Att1_RW_write + + def read_RCU01_Att2_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att2_R_read) ENABLED START # + """Return the RCU01_Att2_R attribute.""" + self._RCU01_Att2_R = self.attribute_mapping["RCU01_Att2_R"].get_value() + return self._RCU01_Att2_R + # PROTECTED REGION END # // RCUSCC.RCU01_Att2_R_read + + def read_RCU01_Att2_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att2_RW_read) ENABLED START # + """Return the RCU01_Att2_R attribute.""" + self._RCU01_Att2_RW = self.attribute_mapping["RCU01_Att2_RW"].get_value() + return self._RCU01_Att2_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Att2_RW_read + + def write_RCU01_Att2_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Att2_RW_write) ENABLED START # + """Set the RCU01_Att2_RW attribute.""" + self.attribute_mapping["RCU01_Att2_RW"].set_value(value) + self._RCU01_Att2_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Att2_RW_write + + def read_RCU01_Att3_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att3_R_read) ENABLED START # + """Return the RCU01_Att3_R attribute.""" + self._RCU01_Att3_R = self.attribute_mapping["RCU01_Att3_R"].get_value() + return self._RCU01_Att3_R + # PROTECTED REGION END # // RCUSCC.RCU01_Att3_R_read + + def read_RCU01_Att3_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Att3_RW_read) ENABLED START # + """Return the RCU01_Att3_R attribute.""" + self._RCU01_Att3_RW = self.attribute_mapping["RCU01_Att3_RW"].get_value() + return self._RCU01_Att3_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Att3_RW_read + + def write_RCU01_Att3_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Att3_RW_write) ENABLED START # + """Set the RCU01_Att3_RW attribute.""" + self.attribute_mapping["RCU01_Att3_RW"].set_value(value) + self._RCU01_Att3_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Att3_RW_write + + def read_RCU01_Band1_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Band1_R_read) ENABLED START # + """Return the RCU01_Band1_R attribute.""" + self._RCU01_Band1_R = self.attribute_mapping["RCU01_Band1_R"].get_value() + return self._RCU01_Band1_R + # PROTECTED REGION END # // RCUSCC.RCU01_Band1_R_read + + def read_RCU01_Band1_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Band1_RW_read) ENABLED START # + """Return the RCU01_Band1_R attribute.""" + self._RCU01_Band1_RW = self.attribute_mapping["RCU01_Band1_RW"].get_value() + return self._RCU01_Band1_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Band1_RW_read + + def write_RCU01_Band1_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Band1_RW_write) ENABLED START # + """Set the RCU01_Band1_RW attribute.""" + self.attribute_mapping["RCU01_Band1_RW"].set_value(value) + self._RCU01_Band1_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Band1_RW_write + + def read_RCU01_Band2_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Band2_R_read) ENABLED START # + """Return the RCU01_Band2_R attribute.""" + self._RCU01_Band2_R = self.attribute_mapping["RCU01_Band2_R"].get_value() + return self._RCU01_Band2_R + # PROTECTED REGION END # // RCUSCC.RCU01_Band2_R_read + + def read_RCU01_Band2_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Band2_RW_read) ENABLED START # + """Return the RCU01_Band2_R attribute.""" + self._RCU01_Band2_RW = self.attribute_mapping["RCU01_Band2_RW"].get_value() + return self._RCU01_Band2_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Band2_RW_read + + def write_RCU01_Band2_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Band2_RW_write) ENABLED START # + """Set the RCU01_Band2_RW attribute.""" + self.attribute_mapping["RCU01_Band2_RW"].set_value(value) + self._RCU01_Band2_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Band2_RW_write + + def read_RCU01_Dither1_Frequency_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_R_read) ENABLED START # + """Return the RCU01_Dither1_Frequency_R attribute.""" + self._RCU01_Dither1_Frequency_R = self.attribute_mapping["RCU01_Dither1_Frequency_R"].get_value() + return self._RCU01_Dither1_Frequency_R + # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_R_read + + def read_RCU01_Dither1_Frequency_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_RW_read) ENABLED START # + """Return the RCU01_Dither1_Frequency_R attribute.""" + self._RCU01_Dither1_Frequency_RW = self.attribute_mapping["RCU01_Dither1_Frequency_RW"].get_value() + return self._RCU01_Dither1_Frequency_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_RW_read + + def write_RCU01_Dither1_Frequency_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither1_Frequency_RW_write) ENABLED START # + """Set the RCU01_Dither1_Frequency_RW attribute.""" + self.attribute_mapping["RCU01_Dither1_Frequency_RW"].set_value(value) + self._RCU01_Dither1_Frequency_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Dither1_Frequency_RW_write + + def read_RCU01_Dither2_Frequency_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_R_read) ENABLED START # + """Return the RCU01_Dither2_Frequency_R attribute.""" + self._RCU01_Dither2_Frequency_R = self.attribute_mapping["RCU01_Dither2_Frequency_R"].get_value() + return self._RCU01_Dither2_Frequency_R + # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_R_read + + def read_RCU01_Dither2_Frequency_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_RW_read) ENABLED START # + """Return the RCU01_Dither2_Frequency_R attribute.""" + self._RCU01_Dither2_Frequency_RW = self.attribute_mapping["RCU01_Dither2_Frequency_RW"].get_value() + return self._RCU01_Dither2_Frequency_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_RW_read + + def write_RCU01_Dither2_Frequency_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Dither2_Frequency_RW_write) ENABLED START # + """Set the RCU01_Dither2_Frequency_RW attribute.""" + self.attribute_mapping["RCU01_Dither2_Frequency_RW"].set_value(value) + self._RCU01_Dither2_Frequency_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Dither2_Frequency_RW_write + + def read_RCU01_LED0_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_LED0_R_read) ENABLED START # + """Return the RCU01_LED0_R attribute.""" + self._RCU01_LED0_R = self.attribute_mapping["RCU01_LED0_R"].get_value() + return self._RCU01_LED0_R + # PROTECTED REGION END # // RCUSCC.RCU01_LED0_R_read + + def read_RCU01_LED0_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_LED0_RW_read) ENABLED START # + """Return the RCU01_LED0_RW attribute.""" + self._RCU01_LED0_RW = self.attribute_mapping["RCU01_LED0_RW"].get_value() + return self._RCU01_LED0_RW + # PROTECTED REGION END # // RCUSCC.RCU01_LED0_RW_read + + def write_RCU01_LED0_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_LED0_RW_write) ENABLED START # + """Set the RCU01_LED0_RW attribute.""" + self.attribute_mapping["RCU01_LED0_RW"].set_value(value) + self._RCU01_LED0_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_LED0_RW_write + + def read_RCU01_Pwr_dig_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_R_read) ENABLED START # + """Return the RCU01_Pwr_dig_R attribute.""" + self._RCU01_Pwr_dig_R = self.attribute_mapping["RCU01_Pwr_dig_R"].get_value() + return self._RCU01_Pwr_dig_R + # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_R_read + + def read_RCU01_Pwr_dig_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_RW_read) ENABLED START # + """Return the RCU01_Pwr_dig_RW attribute.""" + self._RCU01_Pwr_dig_RW = self.attribute_mapping["RCU01_Pwr_dig_RW"].get_value() + return self._RCU01_Pwr_dig_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_RW_read + + def write_RCU01_Pwr_dig_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Pwr_dig_RW_write) ENABLED START # + """Set the RCU01_Pwr_dig_RW attribute.""" + self.attribute_mapping["RCU01_Pwr_dig_RW"].set_value(value) + self._RCU01_Pwr_dig_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Pwr_dig_RW_write + + def read_RCU01_Temp_R(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Temp_R_read) ENABLED START # + """Return the RCU01_Temp_R attribute.""" + self._RCU01_Temp_R = self.attribute_mapping["RCU01_Temp_R"].get_value() + return self._RCU01_Temp_R + # PROTECTED REGION END # // RCUSCC.RCU01_Temp_R_read + + def read_RCU01_Temp_RW(self): + # PROTECTED REGION ID(RCUSCC.RCU01_Temp_RW_read) ENABLED START # + """Return the RCU01_Temp_RW attribute.""" + self._RCU01_Temp_RW = self.attribute_mapping["RCU01_Temp_RW"].get_value() + return self._RCU01_Temp_RW + # PROTECTED REGION END # // RCUSCC.RCU01_Temp_RW_read + + def write_RCU01_Temp_RW(self, value): + # PROTECTED REGION ID(RCUSCC.RCU01_Temp_RW_write) ENABLED START # + """Set the RCU01_Temp_RW attribute.""" + self.attribute_mapping["RCU01_Temp_RW"].set_value(value) + self._RCU01_Temp_RW = value + # PROTECTED REGION END # // RCUSCC.RCU01_Temp_RW_write + # -------- # Commands @@ -809,6 +607,30 @@ class RCUSCC(Device): self.set_state(DevState.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 # ---------- -- GitLab