def create(): c = ControlPoint() c.subscribe('new_device_event', on_new_device) c.subscribe('removed_device_event', on_removed_device) return c
def __init__(self): ControlPoint.__init__(self) self.subscribe('new_device_event', self.device_found)
def __init__(self): ControlPoint.__init__(self) self.subscribe('new_device_event', self.device_found) self.service = 'urn:schemas-icucinema-co-uk:service:Lighting:1' self.utype = 'urn:schemas-icucinema-co-uk:device:LXDesk:1'
def __init__(self): ControlPoint.__init__(self) self.subscribe('new_device_event', self.device_found) self.service = 'urn:schemas-icucinema-co-uk:service:RetractingScreen:1' self.utype = 'urn:schemas-icucinema-co-uk:device:RetractingScreen:1'
def __init__(self): ControlPoint.__init__(self) self.subscribe('new_device_event', self.device_found) self.service = 'urn:schemas-icucinema-co-uk:service:Audio:1' self.utype = 'urn:schemas-icucinema-co-uk:device:CP500:1'
def __init__(self): ControlPoint.__init__(self) self.lamps = []