def addInitialBaeume(self, inpDat): self.lB, self.dBGNotGerm = [], {} for iTpB, lSPosSYB in self.dBG.items(): for k in range(len(lSPosSYB)): cPos, yrGerm = lSPosSYB[k] if yrGerm == 0: self.addBaum(inpDat, iTpB, cPos, yrGerm) else: Fkt.addToDictL(self.dBGNotGerm, iTpB, lSPosSYB[k])
def addBlattData(self, dITp, cIDObj, cAObj=-1): Fkt.adToDictCount(self.dNBt, dITp['iTp']) Fkt.addToDictL(self.dIDBt, dITp['iTp'], cIDObj) if cAObj >= 0: Fkt.adToDictCount(self.dABt, dITp['iTp'], cAObj) self.cABtLtC += cAObj * dITp['tPrpDLC'][0]
def addKnotenData(self, dITp, cIDObj): Fkt.adToDictCount(self.dNKt, dITp['iTp']) Fkt.addToDictL(self.dIDKt, dITp['iTp'], cIDObj)