示例#1
0
文件: li.py 项目: Seleucia/smartcv
	def set_past_positions(self):
		self.pastPositionList=[]
		if self.data.get('threePastPositions') != None:
			for i in range(0, self.data['threePastPositions']['_total']):
				position=jsonparser.get_poisition(self.data,True,i)
				self.pastPositionList.append(position)
示例#2
0
文件: li.py 项目: Seleucia/smartcv
	def set_current_positions(self):
		self.currentPositionList=[]
		if self.data.get('threeCurrentPositions') != None:
			for i in range(0,self.data['threeCurrentPositions']['_total']):
				position=jsonparser.get_poisition(self.data,False,i)
				self.currentPositionList.append(position)