From fa4281443e97de213c3ece78a0c414307a13e294 Mon Sep 17 00:00:00 2001 From: Auke Klazema <klazema@astron.nl> Date: Thu, 14 Apr 2022 09:07:38 +0200 Subject: [PATCH] L2SS-704: Add fisallowed to antennafield attributes --- .../devices/antennafield.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tangostationcontrol/tangostationcontrol/devices/antennafield.py b/tangostationcontrol/tangostationcontrol/devices/antennafield.py index d65680436..2013b1602 100644 --- a/tangostationcontrol/tangostationcontrol/devices/antennafield.py +++ b/tangostationcontrol/tangostationcontrol/devices/antennafield.py @@ -44,15 +44,15 @@ class AntennaField(lofar_device): default_value = [] ) - HBAT_ANT_mask_RW = attribute(dtype=(numpy.bool_,), max_dim_x=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_ant_mask", fset="set_hbat_ant_mask") - HBAT_BF_delay_steps_R = attribute(dtype=((numpy.int64,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_bf_delay_steps") - HBAT_BF_delay_steps_RW = attribute(dtype=((numpy.int64,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_bf_delay_steps", fset="set_hbat_bf_delay_steps") - HBAT_LED_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_led_on") - HBAT_LED_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_led_on", fset="set_hbat_led_on") - HBAT_PWR_LNA_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_pwr_lna_on") - HBAT_PWR_LNA_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_pwr_lna_on", fset="set_hbat_pwr_lna_on") - HBAT_PWR_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_pwr_on") - HBAT_PWR_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_pwr_on", fset="set_hbat_pwr_on") + HBAT_ANT_mask_RW = attribute(dtype=(numpy.bool_,), max_dim_x=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_ant_mask", fset="set_hbat_ant_mask", fisallowed="is_attribute_wrapper_allowed") + HBAT_BF_delay_steps_R = attribute(dtype=((numpy.int64,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_bf_delay_steps", fisallowed="is_attribute_wrapper_allowed") + HBAT_BF_delay_steps_RW = attribute(dtype=((numpy.int64,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_bf_delay_steps", fset="set_hbat_bf_delay_steps", fisallowed="is_attribute_wrapper_allowed") + HBAT_LED_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_led_on", fisallowed="is_attribute_wrapper_allowed") + HBAT_LED_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_led_on", fset="set_hbat_led_on", fisallowed="is_attribute_wrapper_allowed") + HBAT_PWR_LNA_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_pwr_lna_on", fisallowed="is_attribute_wrapper_allowed") + HBAT_PWR_LNA_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_pwr_lna_on", fset="set_hbat_pwr_lna_on", fisallowed="is_attribute_wrapper_allowed") + HBAT_PWR_on_R = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ, fget="get_hbat_pwr_on", fisallowed="is_attribute_wrapper_allowed") + HBAT_PWR_on_RW = attribute(dtype=((numpy.bool_,),), max_dim_x=32, max_dim_y=48, access=AttrWriteType.READ_WRITE, fget="get_hbat_pwr_on", fset="set_hbat_pwr_on", fisallowed="is_attribute_wrapper_allowed") @log_exceptions() def configure_for_initialise(self): -- GitLab