Exemplo n.º 1
0
 def __init__(self, *args, **kwds):
     """Initializes application and displays top frame"""
     
     MyApp.__init__(self, *args, **kwds)
     
     self.ecg_simulated = 0
     self.bp_simulated = 0
     self.spo2_simulated = 0
     self.email_simulated = 0
     self.im_simulated = 0
     self.voip_simulated = 0
     
     self.frame.Show()
Exemplo n.º 2
0
 def __init__(self, *args, **kwds):
     """Initializes application and displays top frame"""
     
     MyApp.__init__(self, *args, **kwds)
     
     self.ecg_simulated = 0
     self.bp_simulated = 0
     self.spo2_simulated = 0
     self.email_simulated = 0
     self.im_simulated = 0
     self.voip_simulated = 0
     self.configlinphone=ConfigParser.ConfigParser()
     print os.getenv('HOME')+'.linphonerc'
     print self.configlinphone.read(os.getenv('HOME')+'/.linphonerc')
     temp=self.configlinphone.get('proxy_0','reg_identity')
     index = 0
     for x in temp:
         if x == '@':
             break
         index+=1
     self.rxboxID=temp[4:index]
     
     self.frame.Show()
Exemplo n.º 3
0
    def __init__(self, *args, **kwds):
        """Initializes application and displays top frame"""

        MyApp.__init__(self, *args, **kwds)

        self.ecg_simulated = 0
        self.bp_simulated = 0
        self.spo2_simulated = 0
        self.email_simulated = 0
        self.im_simulated = 0
        self.voip_simulated = 0
        self.configlinphone = ConfigParser.ConfigParser()
        print os.getenv('HOME') + '.linphonerc'
        print self.configlinphone.read(os.getenv('HOME') + '/.linphonerc')
        temp = self.configlinphone.get('proxy_0', 'reg_identity')
        index = 0
        for x in temp:
            if x == '@':
                break
            index += 1
        self.rxboxID = temp[4:index]

        self.frame.Show()