개정판 a3e18637
issue #000: change symbol type
Change-Id: I15206c4a8b819b57e9913d74b53bfe7fd6eb3dd5
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
2952 | 2952 |
@author kyouho |
2953 | 2953 |
@date 2018.08.13 |
2954 | 2954 |
''' |
2955 |
|
|
2956 | 2955 |
def deleteLineDataList(self, removeUID): |
2957 | 2956 |
conn = self.project.database.connect() |
2958 | 2957 |
with conn: |
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
1680 | 1680 |
cateogry = app_doc_data.getSymbolCategoryByType(type) |
1681 | 1681 |
if type == "Piping OPC's": |
1682 | 1682 |
item = QEngineeringOPCItem(path, uid, flip=flip) |
1683 |
elif cateogry == 'Equipment': |
|
1683 |
elif cateogry == 'Equipment' or cateogry == 'Equipment Components':
|
|
1684 | 1684 |
item = QEngineeringEquipmentItem(path, uid, flip=flip) |
1685 | 1685 |
elif cateogry == 'Instrumentation': |
1686 | 1686 |
item = QEngineeringInstrumentItem(path, uid, flip=flip) |
내보내기 Unified diff