Commit aa75f6a5 authored by Čermák Petr's avatar Čermák Petr
Browse files

ALSA: improved dxs power supply ON/OFF

parent 72a65ea5
......@@ -206,6 +206,12 @@ class XRaySource(base.DiscreteOutput):
def Stop(self):
self._iodev.Communicate('XRAY OFF')
def On(self):
self.write_value(1)
def Off(self):
self.write_value(0)
def read_value(self):
return self._state
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment