예제 #1
0
 def __init__(self, key):
     SettingsEntity.__init__(self, key)
     self.default_settings = {
         self.PORT: "",
         self.BAUDRATE: 115200,
         self.CHANNEL: "serial"
     }
예제 #2
0
 def __init__(self,
              controller=ControllerAbstract(),
              udp_sett_entity=SettingsEntity(""),
              **kwargs):
     BaseComponent.__init__(self)
     EventlessUDPReceiver.__init__(self, controller, udp_sett_entity,
                                   **kwargs)
     self.udp_conn = udp_sett_entity.get_settings()
     self.udp = UDPEntity(**self.udp_conn).register(self)
예제 #3
0
 def __init__(self,
              controller=ControllerAbstract(),
              udp_sett_entity=SettingsEntity(""),
              **kwargs):
     self._controller = controller
     self.recent_caller_address = tuple()
예제 #4
0
 def __init__(self, serial_sett_entity=SettingsEntity("")):
     super(EventlessPropulsionManager, self).__init__(serial_sett_entity)
예제 #5
0
 def __init__(self, serial_sett_entity=SettingsEntity("")):
     BaseComponent.__init__(self)
     NullDeviceManager.__init__(self, serial_sett_entity)
예제 #6
0
 def __init__(self, serial_sett_entity=SettingsEntity("")):
     BaseComponent.__init__(self)
     EventlessDeviceManager.__init__(self, serial_sett_entity)
     self.device = SerialEntity(**self.device_conn).register(self)
예제 #7
0
 def __init__(self, key):
     SettingsEntity.__init__(self, key)
     self.default_settings = {self.FILENAME: "update.zip"}
예제 #8
0
 def __init__(self, settings_entity=SettingsEntity("")):
     self.settings_entity = settings_entity
예제 #9
0
 def __init__(self, settings_entity=SettingsEntity("")):
     DeviceFactoryAbstract.__init__(self, settings_entity)
     self.port = settings_entity.get_entry(SettingsSerialEntity.PORT)
예제 #10
0
 def __init__(self, serial_sett_entity=SettingsEntity("")):
     EventlessDeviceManager.__init__(self, serial_sett_entity)
예제 #11
0
 def __init__(self, serial_sett_entity=SettingsEntity("")):
     super(EventlessManipulatorManager, self).__init__(serial_sett_entity)
예제 #12
0
 def __init__(self, base_component, settings_entity=SettingsEntity("")):
     assert isinstance(settings_entity, SettingsSerialEntity)
     super(PropulsionManagerFactory, self).__init__(settings_entity)
     self.base_component = base_component
예제 #13
0
 def __init__(self, base_component, settings_entity=SettingsEntity("")):
     assert isinstance(settings_entity, SettingsSerialEntity)
     DeviceManagerFactorySerialAbstract.__init__(self, settings_entity)
     self.base_component = base_component