개정판 09a565dd
issue #1060 : 계산식 - Liquid 일부 적용
Change-Id: I3f0ba3ae386db900757b6aa5511c87ccb3883509
HYTOS/HYTOS/PlateHeatExchanger.py | ||
---|---|---|
83 | 83 |
appDocData = AppDocData.instance() |
84 | 84 |
drawing = appDocData.activeDrawing |
85 | 85 |
if drawing: |
86 |
columnDisplayNameList = appDocData.getColumnDisplayNames(drawing.UID, 'Nozzles') |
|
87 |
if len(columnDisplayNameList) > 0: |
|
88 |
for columnDisplayName in columnDisplayNameList: |
|
89 |
if columnDisplayName[0] == 'Pressure Drop': |
|
90 |
self.ui.label_PressureUnit.setText(columnDisplayName[1]) |
|
91 |
elif columnDisplayName[0] == 'Elevation': |
|
92 |
self.ui.label_ElevationUnit.setText(columnDisplayName[1]) |
|
86 |
for attr in drawing.attrs: |
|
87 |
if attr[0] == 'Units': |
|
88 |
self.ui.label_PressureUnit.setText(attr[1]['Pressure']) |
|
89 |
self.ui.label_ElevationUnit.setText(attr[1]['Length']) |
|
93 | 90 |
|
94 | 91 |
|
95 | 92 |
for connector in self._item.connectors: |
내보내기 Unified diff