示例#1
0
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.streetTexture = DNAUtil.dgiExtractString8(dgi)
     self.sidewalkTexture = DNAUtil.dgiExtractString8(dgi)
     self.curbTexture = DNAUtil.dgiExtractString8(dgi)
     self.streetColor = DNAUtil.dgiExtractColor(dgi)
     self.sideWalkColor = DNAUtil.dgiExtractColor(dgi)
     self.curbColor = DNAUtil.dgiExtractColor(dgi)
示例#2
0
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.streetTexture = DNAUtil.dgiExtractString8(dgi)
     self.sidewalkTexture = DNAUtil.dgiExtractString8(dgi)
     self.curbTexture = DNAUtil.dgiExtractString8(dgi)
     self.streetColor = DNAUtil.dgiExtractColor(dgi)
     self.sideWalkColor = DNAUtil.dgiExtractColor(dgi)
     self.curbColor = DNAUtil.dgiExtractColor(dgi)
示例#3
0
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.wallColor = DNAUtil.dgiExtractColor(dgi)
     self.title = DNAUtil.dgiExtractString8(dgi)
     self.article = DNAUtil.dgiExtractString8(dgi)
     self.buildingType = DNAUtil.dgiExtractString8(dgi)
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.color = DNAUtil.dgiExtractColor(dgi)
     self.width = dgi.getInt16() / 100.0
     self.height = dgi.getInt16() / 100.0
     self.bDefaultColor = dgi.getBool()
示例#5
0
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.wallColor = DNAUtil.dgiExtractColor(dgi)
     self.title = DNAUtil.dgiExtractString8(dgi)
     self.article = DNAUtil.dgiExtractString8(dgi)
     self.buildingType = DNAUtil.dgiExtractString8(dgi)
示例#6
0
 def makeFromDGI(self, dgi):
     DNANode.DNANode.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.color = DNAUtil.dgiExtractColor(dgi)
     self.width = dgi.getInt16() / 100.0
     self.height = dgi.getInt16() / 100.0
     self.bDefaultColor = dgi.getBool()
示例#7
0
 def makeFromDGI(self, dgi):
     DNAGroup.DNAGroup.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.color = DNAUtil.dgiExtractColor(dgi)
示例#8
0
文件: DNADoor.py 项目: nate97/src
 def makeFromDGI(self, dgi):
     DNAGroup.DNAGroup.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.color = DNAUtil.dgiExtractColor(dgi)
 def makeFromDGI(self, dgi):
     DNAGroup.DNAGroup.makeFromDGI(self, dgi)
     self.code = DNAUtil.dgiExtractString8(dgi)
     self.color = DNAUtil.dgiExtractColor(dgi)
     self.windowCount = dgi.getUint8()