예제 #1
0
파일: LDSGUI.py 프로젝트: josephramsay/LDS
 def initConf(self):
     '''Read files in conf dir ending in conf'''
     self.cflist = ConfigInitialiser.getConfFiles()
     #self.imgset = self.STATIC_IMG if ConfigWrapper().readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     #self.imgset = self.STATIC_IMG if self.parent.confconn.tp.src.confwrap.readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     sep = self.parent.confconn.reg.openEndPoint(self.parent.confconn.SRCNAME,self.parent.confconn.uconf)
     self.imgset = self.STATIC_IMG if sep.confwrap.readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     self.parent.confconn.reg.closeEndPoint(self.parent.confconn.SRCNAME)
예제 #2
0
 def initConf(self):
     '''Read files in conf dir ending in conf'''
     self.cflist = ConfigInitialiser.getConfFiles()
     #self.imgset = self.STATIC_IMG if ConfigWrapper().readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     #self.imgset = self.STATIC_IMG if self.parent.confconn.tp.src.confwrap.readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     sep = self.parent.confconn.reg.openEndPoint(self.parent.confconn.SRCNAME,self.parent.confconn.uconf)
     self.imgset = self.STATIC_IMG if sep.confwrap.readDSProperty('Misc','indicator')=='static' else self.ANIM_IMG
     self.parent.confconn.reg.closeEndPoint(self.parent.confconn.SRCNAME)