개정판 39128c17
issue #1053 : 생성한 장치의 데이터 입력
Change-Id: I268dd5e528e1edc4def49c3ee211419254a203af
HYTOS/HYTOS/Reactor.py | ||
---|---|---|
106 | 106 |
|
107 | 107 |
def load_data(self): |
108 | 108 |
""" load tag no and nozzle data """ |
109 |
from Drawing import Drawing |
|
110 |
self.ui.lineEdit_TagNo.setText(self._item.tag_no) |
|
109 |
tag_no = self._item.tag_no |
|
110 |
if tag_no != 'None' and is_not_blank(tag_no): |
|
111 |
self.ui.lineEdit_TagNo.setText(tag_no) |
|
111 | 112 |
|
112 |
appDocData = AppDocData.instance()
|
|
113 |
drawing = appDocData.activeDrawing
|
|
113 |
app_doc_data = AppDocData.instance()
|
|
114 |
drawing = app_doc_data.activeDrawing
|
|
114 | 115 |
if drawing: |
115 | 116 |
for attr in drawing.attrs: |
116 | 117 |
if attr[0] == 'Units': |
내보내기 Unified diff