def addUID(self, inputs): for i in inputs: i['UniqueResponseIdentifier'] = compReg.getNewId() return inputs
def addUIDAndTDMA(self, inputs, numObjs): for i in inputs: i['UniqueResponseIdentifier'] = compReg.getNewId() i['TDMAId'] = numObjs numObjs += 1 return inputs