def __init__(self):
    log.info('creating instance')
    EventBusClient.EventBusClient.__init__(self, signal='parsedAppData_OAPTemperature', cb=self._publish, teardown_cb=self._cleanup)
    self.name = 'DataConnector_MirrorEngine'
    dispatcher.connect(self._addToQueue, signal='parsedAppData_DC2126A', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_SPIPressure', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_GPIONet', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_LIS331', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_OAPtilt', weak=False)
    dispatcher.connect(self.getMirrorData, signal='getMirrorData', weak=False)
    dispatcher.connect(self.calibrateMirrorData, signal='calibrateMirrorData', weak=False)
    dispatcher.connect(self.clearMirrorData, signal='clearMirrorData', weak=False)
    self.dataLock = threading.Lock()
    self.pressureOffsets = {}
    self.mirrordata = []
    self.dc2126Aconverters = DC2126AConverters.DC2126AConverters()
def __init__(self):
    log.info('creating instance')
    EventBusClient.EventBusClient.__init__(self, signal='parsedAppData_OAPTemperature', cb=self._publish, teardown_cb=self._cleanup)
    self.name = 'DataConnector_MirrorEngine'
    dispatcher.connect(self._addToQueue, signal='parsedAppData_DC2126A', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_SPIPressure', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_GPIONet', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_LIS331', weak=False)
    dispatcher.connect(self._addToQueue, signal='parsedAppData_OAPtilt', weak=False)
    dispatcher.connect(self.getMirrorData, signal='getMirrorData', weak=False)
    dispatcher.connect(self.calibrateMirrorData, signal='calibrateMirrorData', weak=False)
    dispatcher.connect(self.clearMirrorData, signal='clearMirrorData', weak=False)
    self.dataLock = threading.Lock()
    self.pressureOffsets = {}
    self.mirrordata = []
    self.dc2126Aconverters = DC2126AConverters.DC2126AConverters()