개정판 abd65432
issue #622: 1108
DTI_PID/DTI_PID/Shapes/EngineeringInstrumentItem.py | ||
---|---|---|
263 | 263 |
from AppDocData import AppDocData |
264 | 264 |
|
265 | 265 |
docData = AppDocData.instance() |
266 |
#docData.setInstrumentDataList(self.getAttributes()) |
|
266 | 267 |
docData.setInstrumentDataList([self.getInstrumentDataList()]) |
267 | 268 |
except Exception as ex: |
268 | 269 |
return str(self.uid) |
DTI_PID/DTI_PID/TrainingImageListDialog.py | ||
---|---|---|
189 | 189 |
drawingPath = os.path.join(project.getTrainingFilePath(), hasBox) |
190 | 190 |
drawing = Image.open(drawingPath) |
191 | 191 |
listHasBoxImage.append(drawing) |
192 |
listHasBoxImage.append(drawing) |
|
193 |
listHasBoxImage.append(drawing) |
|
194 |
listHasBoxImage.append(drawing) |
|
195 |
listHasBoxImage.append(drawing) |
|
192 |
#listHasBoxImage.append(drawing)
|
|
193 |
#listHasBoxImage.append(drawing)
|
|
194 |
#listHasBoxImage.append(drawing)
|
|
195 |
#listHasBoxImage.append(drawing)
|
|
196 | 196 |
boxPath = os.path.join(project.getTrainingFilePath(), data) |
197 | 197 |
fw = open(boxPath, 'r', encoding='utf8') |
198 | 198 |
boxContent = fw.read() |
199 | 199 |
fw.close() |
200 | 200 |
listBoxes.append(boxContent) |
201 |
listBoxes.append(boxContent) |
|
202 |
listBoxes.append(boxContent) |
|
203 |
listBoxes.append(boxContent) |
|
204 |
listBoxes.append(boxContent) |
|
201 |
#listBoxes.append(boxContent)
|
|
202 |
#listBoxes.append(boxContent)
|
|
203 |
#listBoxes.append(boxContent)
|
|
204 |
#listBoxes.append(boxContent)
|
|
205 | 205 |
|
206 | 206 |
areasNumber = len(listHasBoxImage) |
207 | 207 |
#print('total text areas : ' + str(areasNumber)) |
내보내기 Unified diff