def __init__(self, *args, **kwargs): try: watch = kwargs['watchfor'] except KeyError: watch = [] kwargs['watchfor'] = watch + [event.MeasureDosePublishEvent] Reference.__init__(self, *args, **kwargs) self.start()
def __init__(self, *args, **kwargs): try: watch = kwargs['watchfor'] except KeyError: watch = [] kwargs['watchfor'] = watch + [event.AlignZeroLossPeakPublishEvent] Reference.__init__(self, *args, **kwargs) self.start()
def processData(self, incoming_data): Reference.processData(self, incoming_data) if isinstance(incoming_data, leginondata.MeasureDoseData): self.processRequest(incoming_data)
def processData(self, incoming_data): Reference.processData(self, incoming_data) if isinstance(incoming_data, leginondata.AlignZeroLossPeakData): self.processRequest(incoming_data)
def processData(self, incoming_data): if self.settings['bypass']: return Reference.processData(self, incoming_data) if isinstance(incoming_data, leginondata.AlignZeroLossPeakData): self.processRequest(incoming_data)