class Detector(DeviceBase): def __init__(self, name): DeviceBase.__init__(self, name) def doInitialize(self): DeviceBase.doInitialize(self) def start(): setState(State.Busy) def stop(): setState(State.Ready) def doClose(self): DeviceBase.doClose(self)