Skip to content
Snippets Groups Projects
Commit 9cae79cb authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

ANtenna field check

parent 6d29ad7b
Branches
No related tags found
2 merge requests!1076Resolve L2SS-2129 "Add grpc",!1075Power off antennas that should be off in power_hardware_on
...@@ -149,6 +149,12 @@ class AntennaField(antennafield_pb2_grpc.AntennafieldServicer): ...@@ -149,6 +149,12 @@ class AntennaField(antennafield_pb2_grpc.AntennafieldServicer):
antenna_field.Initialise() antenna_field.Initialise()
antenna_field.On() antenna_field.On()
# We need to turn things on - and off - so we check if the
# Station is actually having the power on, then set it on
stationmanager = create_device_proxy("STAT/StationManager/1")
if stationmanager.antennas_powered_on_R:
antenna_field.power_hardware_on()
def _update_antenna_property( def _update_antenna_property(
self, self,
identifier: Identifier, identifier: Identifier,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment