개정판 3896f3a5
line freeze test
Change-Id: I49feaa235cb41d1b1113d84c4235499a57ee3065
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
82 | 82 | |
83 | 83 |
line_run = QEngineeringRunItem() |
84 | 84 |
line_run.items = connected_items |
85 |
line_run.arrange_flow_direction() |
|
85 |
if line_run.arrange_flow_direction(): |
|
86 |
line_run._fixed = True |
|
87 |
else: |
|
88 |
line_run._fixed = False |
|
86 | 89 |
line_run.owner = lineno |
87 | 90 |
lineno.runs.append(line_run) |
88 | 91 | |
... | ... | |
145 | 148 |
if connected_items: |
146 | 149 |
line_run = QEngineeringRunItem() |
147 | 150 |
line_run.items = connected_items |
148 |
line_run.arrange_flow_direction() |
|
151 |
fixed = line_run.arrange_flow_direction()
|
|
149 | 152 |
if line_run.items is not None and len(line_run.items) > 0: |
153 |
if fixed: |
|
154 |
line_run._fixed = True |
|
155 |
else: |
|
156 |
line_run._fixed = False |
|
150 | 157 |
line_run.owner = owner |
151 | 158 |
owner.runs.append(line_run) |
152 | 159 |
else: |
... | ... | |
1194 | 1201 |
fixed_run_infos.append(QEngineeringLineTracerRunItem(run, lineNo, not_trim, not_secondary)) |
1195 | 1202 |
run_index += 1 |
1196 | 1203 |
continue |
1204 |
elif hasattr(run, '_fixed') and run._fixed: |
|
1205 |
fixed_run_infos.append(QEngineeringLineTracerRunItem(run, lineNo, not_trim, not_secondary)) |
|
1206 |
run_index += 1 |
|
1207 |
continue |
|
1197 | 1208 | |
1198 | 1209 |
reference_symbols = [item for item in run.items if |
1199 | 1210 |
issubclass(type(item), SymbolSvgItem) and item.has_in_out_connector()] |
내보내기 Unified diff