equal
deleted
inserted
replaced
801 if self.Table.GetValueByName(i, "Class") == "input": |
801 if self.Table.GetValueByName(i, "Class") == "input": |
802 num += 1 |
802 num += 1 |
803 else: |
803 else: |
804 dir = "%Q" |
804 dir = "%Q" |
805 for i in xrange(row): |
805 for i in xrange(row): |
806 if self.Table.GetValueByName(i, "Class") == "input": |
806 if self.Table.GetValueByName(i, "Class") == "output": |
807 num += 1 |
807 num += 1 |
808 data_type = self.Table.GetValueByName(row, "Type") |
808 data_type = self.Table.GetValueByName(row, "Type") |
809 base_location = ".".join(map(lambda x:str(x), self.Controler.GetCurrentLocation())) |
809 base_location = ".".join(map(lambda x:str(x), self.Controler.GetCurrentLocation())) |
810 location = "%s%s%s.%d"%(dir, self.Controler.GetSizeOfType(data_type), base_location, num) |
810 location = "%s%s%s.%d"%(dir, self.Controler.GetSizeOfType(data_type), base_location, num) |
811 data = wx.TextDataObject(str((location, "location", data_type))) |
811 data = wx.TextDataObject(str((location, "location", data_type))) |