def set_appointed_device(self, device):
     ControlSurface.set_appointed_device(self, device)
     with self.component_guard():
         if self._alt_device_component != None:
             self._alt_device_component.set_device(device)
     return
 def set_appointed_device(self, device):
     ControlSurface.set_appointed_device(self, device)
     with self.component_guard():
         if self._alt_device_component != None:
             self._alt_device_component.set_device(device)