Exemplo n.º 1
0
 def add_Cbrs_Obj(self, cbsdSerialNumber):
     duplicate_cbsd = False
     for cbsdObject in self.cbrsObjArray:
         if cbsdObject.cbsdSerialNumber == cbsdSerialNumber:
             duplicate_cbsd = True
     if duplicate_cbsd == False:
         #        if tempCbrsObj not in self.cbrsObjArray:
         self.cbrsObjArray.append(
             cbrsObj(cbsdSerialNumber, self.testDefinition, self.confFile,
                     self.dirPath, self.loggerHandler))
 def add_Cbrs_Obj(self, cbsdSerialNumber):
     tempCbrsObj = cbrsObj(cbsdSerialNumber, self.testDefinition,
                           self.confFile, self.dirPath, self.loggerHandler)
     if tempCbrsObj not in self.cbrsObjArray:
         self.cbrsObjArray.append(tempCbrsObj)
     del tempCbrsObj