Skip to content
Snippets Groups Projects
Commit 0ba8eaf3 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-392: Resync command list with those now available on the hardware.

parent 2022efac
No related branches found
No related tags found
1 merge request!170L2SS-392: Support calling OPC-UA methods.
......@@ -103,32 +103,22 @@ class APSCT(opcua_device):
@command()
@DebugIt()
@only_when_on()
def CLK_off(self):
def APSCT_off(self):
"""
:return:None
"""
self.opcua_connection.call_method(["CLK_off"])
self.opcua_connection.call_method(["APSCT_off"])
@command()
@DebugIt()
@only_when_on()
def CLK_on(self):
def APSCT_on(self):
"""
:return:None
"""
self.opcua_connection.call_method(["CLK_on"])
@command()
@DebugIt()
@only_when_on()
def CLK_PLL_setup(self):
"""
:return:None
"""
self.opcua_connection.call_method(["CLK_PLL_setup"])
self.opcua_connection.call_method(["APSCT_on"])
# ----------
# Run server
......
......@@ -131,22 +131,22 @@ class RECV(opcua_device):
@command()
@DebugIt()
@only_when_on()
def ADC_on(self):
def RCU_DTH_off(self):
"""
:return:None
"""
self.opcua_connection.call_method(["ADC_on"])
self.opcua_connection.call_method(["RCU_DTH_off"])
@command()
@DebugIt()
@only_when_on()
def RCU_update(self):
def RCU_DTH_on(self):
"""
:return:None
"""
self.opcua_connection.call_method(["RCU_update"])
self.opcua_connection.call_method(["RCU_DTH_on"])
def _initialise_hardware(self):
""" Initialise the RCU hardware. """
......
......@@ -121,6 +121,26 @@ class UNB2(opcua_device):
# Commands
# --------
@command()
@DebugIt()
@only_when_on()
def UNB2_off(self):
"""
:return:None
"""
self.opcua_connection.call_method(["UNB2_off"])
@command()
@DebugIt()
@only_when_on()
def UNB2_on(self):
"""
:return:None
"""
self.opcua_connection.call_method(["UNB2_on"])
# ----------
# Run server
# ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment