Exemplo n.º 1
0
 def __init__(self, pm: PropertyManager):
     self.handlers = {}
     self._layer = PropertyLayer()
     super().__init__(self._layer)
     for key, value in pm.items():
         self._addSource(key, value)
     pm.wire(self.handleSdrDeviceChange)
Exemplo n.º 2
0
 def __init__(self, pm: PropertyManager):
     self.subscriptions = {}
     super().__init__(PropertyLayer())
     for key, value in pm.items():
         self._addSource(key, value)
     pm.wire(self.handleSdrDeviceChange)