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

Remove annoying new lines added by Pogo

parent 33f039ac
No related branches found
No related tags found
No related merge requests found
...@@ -604,8 +604,7 @@ class RCUSCC(Device): ...@@ -604,8 +604,7 @@ class RCUSCC(Device):
# Commands # Commands
# -------- # --------
@command( @command()
)
@only_in_states([DevState.FAULT, DevState.OFF]) @only_in_states([DevState.FAULT, DevState.OFF])
@DebugIt() @DebugIt()
def Init(self): def Init(self):
...@@ -627,8 +626,7 @@ class RCUSCC(Device): ...@@ -627,8 +626,7 @@ class RCUSCC(Device):
self.set_state(DevState.STANDBY) self.set_state(DevState.STANDBY)
@command( @command()
)
@only_in_states([DevState.STANDBY]) @only_in_states([DevState.STANDBY])
@DebugIt() @DebugIt()
def On(self): def On(self):
...@@ -640,8 +638,7 @@ class RCUSCC(Device): ...@@ -640,8 +638,7 @@ class RCUSCC(Device):
self.set_state(DevState.ON) self.set_state(DevState.ON)
@command( @command()
)
@DebugIt() @DebugIt()
def Off(self): def Off(self):
""" """
...@@ -662,8 +659,7 @@ class RCUSCC(Device): ...@@ -662,8 +659,7 @@ class RCUSCC(Device):
# Turn off again, in case of race conditions through reconnecting # Turn off again, in case of race conditions through reconnecting
self.set_state(DevState.OFF) self.set_state(DevState.OFF)
@command( @command()
)
@only_in_states([DevState.ON, DevState.INIT, DevState.STANDBY]) @only_in_states([DevState.ON, DevState.INIT, DevState.STANDBY])
@DebugIt() @DebugIt()
def Fault(self): def Fault(self):
...@@ -678,8 +674,7 @@ class RCUSCC(Device): ...@@ -678,8 +674,7 @@ class RCUSCC(Device):
""" """
self.set_state(DevState.FAULT) self.set_state(DevState.FAULT)
@command( @command()
)
@DebugIt() @DebugIt()
def RCU_off(self): def RCU_off(self):
""" """
...@@ -688,8 +683,7 @@ class RCUSCC(Device): ...@@ -688,8 +683,7 @@ class RCUSCC(Device):
""" """
self.function_mapping["RCU_off"]() self.function_mapping["RCU_off"]()
@command( @command()
)
@DebugIt() @DebugIt()
def RCU_on(self): def RCU_on(self):
""" """
...@@ -698,8 +692,7 @@ class RCUSCC(Device): ...@@ -698,8 +692,7 @@ class RCUSCC(Device):
""" """
self.function_mapping["RCU_on"]() self.function_mapping["RCU_on"]()
@command( @command()
)
@DebugIt() @DebugIt()
def ADC_on(self): def ADC_on(self):
""" """
...@@ -708,8 +701,7 @@ class RCUSCC(Device): ...@@ -708,8 +701,7 @@ class RCUSCC(Device):
""" """
self.function_mapping["ADC_on"]() self.function_mapping["ADC_on"]()
@command( @command()
)
@DebugIt() @DebugIt()
def RCU_update(self): def RCU_update(self):
""" """
...@@ -722,8 +714,6 @@ class RCUSCC(Device): ...@@ -722,8 +714,6 @@ class RCUSCC(Device):
# ---------- # ----------
# Run server # Run server
# ---------- # ----------
def main(args=None, **kwargs): def main(args=None, **kwargs):
"""Main function of the RCUSCC module.""" """Main function of the RCUSCC module."""
return run((RCUSCC,), args=args, **kwargs) return run((RCUSCC,), args=args, **kwargs)
......
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