프로젝트

일반

사용자정보

개정판 60545a53

ID60545a53a3f8cd88fb8f2fdab6aaa12555fdadaf
상위 fc6b05e2
하위 b69cad7e, 8b646a19

함의성이(가) 약 5년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)