15 lines
379 B
Python
15 lines
379 B
Python
class Detector(DeviceBase):
|
|
def __init__(self, name):
|
|
DeviceBase.__init__(self, name)
|
|
|
|
def doInitialize(self):
|
|
super(DeviceBase, self).doInitialize()
|
|
|
|
def start():
|
|
setState(State.Busy)
|
|
|
|
def stop():
|
|
setState(State.Ready)
|
|
|
|
def doClose(self):
|
|
super(DeviceBase, self).doClose() |