프로젝트

일반

사용자정보

개정판 ef4aed65

IDef4aed65af66b8970249cb02e2cd48053324484c
상위 0cf44537
하위 ad9b6fa6

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

issue #000: disable datalist

Change-Id: I2267d4cd1290e7327c0be72a82ccfa4b18889b94

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
223 223
            from EngineeringTextItem import QEngineeringTextItem
224 224
            from EngineeringValveOperCodeTextItem import QEngineeringValveOperCodeTextItem
225 225
            from EngineeringLineItem import QEngineeringLineItem
226
            from EngineeringVendorItem import QEngineeringVendorItem
226 227

  
227 228
            """ get attributes of item from database """
228 229
            docData = AppDocData.instance()
229
            symbolAttrs = docData.getSymbolAttribute(self.type) if type(self) is not QEngineeringLineItem else docData.getSymbolAttribute('Line')
230
            if type(self) is QEngineeringLineItem:
231
                symbolAttrs =  docData.getSymbolAttribute('Line')
232
            elif type(self) is QEngineeringVendorItem:
233
                symbolAttrs =  docData.getSymbolAttribute('Package')
234
            else:
235
                symbolAttrs = docData.getSymbolAttribute(self.type)
230 236
            targetAttrs = []
231 237
            if type(self) is not QEngineeringLineItem:
232 238
                for attr in symbolAttrs:

내보내기 Unified diff

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