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

Add @only_when_on and @fault_on_error to OPC-UA commands

parent 4ce1ca0a
No related branches found
No related tags found
No related merge requests found
......@@ -789,6 +789,8 @@ class PCC(Device):
@command()
@DebugIt()
@only_when_on
@fault_on_error
def RCU_off(self):
"""
......@@ -798,6 +800,8 @@ class PCC(Device):
@command()
@DebugIt()
@only_when_on
@fault_on_error
def RCU_on(self):
"""
......@@ -807,6 +811,8 @@ class PCC(Device):
@command()
@DebugIt()
@only_when_on
@fault_on_error
def ADC_on(self):
"""
......@@ -816,6 +822,8 @@ class PCC(Device):
@command()
@DebugIt()
@only_when_on
@fault_on_error
def RCU_update(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment