개정판 8d42ad21
issue #000: hmb o-g
Change-Id: I33aa388a04dfcbd2fcd2e4fb43c80f6cb5071f1f
DTI_PID/DTI_PID/ItemPropertyTableWidget.py | ||
---|---|---|
945 | 945 |
|
946 | 946 |
row = row + 1 |
947 | 947 |
|
948 |
''' |
|
948 | 949 |
def on_stream_no_changed(self, item, combobox, index): |
949 | 950 |
"""change connected lines' stream no by selected stream no""" |
950 | 951 |
try: |
... | ... | |
981 | 982 |
message = f"error occurred({repr(ex)}) in {sys.exc_info()[-1].tb_frame.f_code.co_filename}:" \ |
982 | 983 |
f"{sys.exc_info()[-1].tb_lineno}" |
983 | 984 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
985 |
''' |
|
984 | 986 |
|
985 | 987 |
''' |
986 | 988 |
@brief Initialize Run Contents Cell |
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
467 | 467 |
|
468 | 468 |
return None |
469 | 469 |
|
470 |
''' |
|
470 | 471 |
@stream_no.setter |
471 | 472 |
def stream_no(self, value): |
472 | 473 |
from AppDocData import AppDocData |
... | ... | |
485 | 486 |
self.attrs[attr] = matches[0].value |
486 | 487 |
else: |
487 | 488 |
self.attrs[attr] = '' |
489 |
''' |
|
488 | 490 |
|
489 | 491 |
def try_eval(self, item, expression): |
490 | 492 |
try: |
... | ... | |
658 | 660 |
_attrs[attr] = self.try_eval(None, value) if attr.Expression else '' |
659 | 661 |
"""up to here""" |
660 | 662 |
|
663 |
"""HMB data""" |
|
664 |
|
|
665 |
"""up to here""" |
|
666 |
|
|
661 | 667 |
for _attr, _value in _attrs.items(): |
662 | 668 |
if _value is None or _value == '': |
663 | 669 |
_attr.AssocItem = None |
내보내기 Unified diff