개정판 60545a53
issue #563: fix line no property
Change-Id: I34204654a7c962823795738bef84772c2c16afbd
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
533 | 533 |
def explode(self, remainFromTo=False): |
534 | 534 |
""" explode line no """ |
535 | 535 |
|
536 |
if False == self.prop('Freeze'): |
|
537 |
try:
|
|
538 |
for index in reversed(range(len(self.runs))):
|
|
539 |
self.runs[index].explode()
|
|
540 |
finally:
|
|
541 |
self.runs.clear()
|
|
542 |
if not remainFromTo:
|
|
543 |
self.set_property('From', None)
|
|
544 |
self.set_property('To', None)
|
|
536 |
#if False == self.prop('Freeze'):
|
|
537 |
try: |
|
538 |
for index in reversed(range(len(self.runs))): |
|
539 |
self.runs[index].explode() |
|
540 |
finally: |
|
541 |
self.runs.clear() |
|
542 |
if not remainFromTo: |
|
543 |
self.set_property('From', None) |
|
544 |
self.set_property('To', None) |
|
545 | 545 |
|
546 | 546 |
''' |
547 | 547 |
@brief generate sql phrase to save to database(Notice: Line No's symbol is is 1) |
내보내기 Unified diff