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

Add state functions

parent 5a1ffd45
No related branches found
No related tags found
No related merge requests found
...@@ -778,6 +778,42 @@ class RCUSCC(Device): ...@@ -778,6 +778,42 @@ class RCUSCC(Device):
# Commands # Commands
# -------- # --------
@command(
)
@DebugIt()
def On(self):
# PROTECTED REGION ID(RCUSCC.On) ENABLED START #
"""
:return:None
"""
self.set_state(DevState.ON)
# PROTECTED REGION END # // RCUSCC..On
@command(
)
@DebugIt()
def Off(self):
# PROTECTED REGION ID(RCUSCC.Off) ENABLED START #
"""
:return:None
"""
self.set_state(DevState.OFF)
# PROTECTED REGION END # // RCUSCC.Off
@command(
)
@DebugIt()
def Init(self):
# PROTECTED REGION ID(RCUSCC.Init) ENABLED START #
"""
:return:None
"""
self.set_state(DevState.INIT)
# PROTECTED REGION END # // RCUSCC.Init
# ---------- # ----------
# Run server # Run server
# ---------- # ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment