개정판 4d2571ab
dev issue #683 : 우선순위 Symbol 모델링 추가 - 1. Angle Valve, 2. 3개의 Symbol이 연결되있는 경우, 3. Connector가 3개 이상인 Symbol 순으로 모델링
Change-Id: I3faf7ec8f8e50eb80e8fcc427c65d5d2cbfdd477
DTI_PID/SPPIDConverter/ConverterForm.cs | ||
---|---|---|
41 | 41 |
private DataTable _ID2AttributeDT = new DataTable(); |
42 | 42 |
private DataTable _ID2LinePropertyDT = new DataTable(); |
43 | 43 |
private DataTable _ID2SymbolTypeDT = new DataTable(); |
44 |
private DataTable _ID2SymbolTable = new DataTable(); |
|
44 | 45 |
|
45 | 46 |
|
46 | 47 |
private List<SymbolMapping> symbolMappings = new List<SymbolMapping>(); |
... | ... | |
198 | 199 |
Project_Info _ProjectInfo = Project_Info.GetInstance(); |
199 | 200 |
if (_ProjectInfo.Enable) |
200 | 201 |
{ |
202 |
if (_ID2SymbolTable != null) |
|
203 |
{ |
|
204 |
_ID2SymbolTable.Dispose(); |
|
205 |
_ID2SymbolTable = null; |
|
206 |
} |
|
207 |
_ID2SymbolTable = Project_DB.SelectID2SymbolTable(); |
|
201 | 208 |
InitID2Symbol(); |
202 | 209 |
InitID2Line(); |
203 | 210 |
InitID2LineNumber(); |
... | ... | |
482 | 489 |
document.DrawingNumber = _DrawingNumber; |
483 | 490 |
document.DrawingName = _DrawingName; |
484 | 491 |
|
492 |
document.SymbolTable = _ID2SymbolTable; |
|
485 | 493 |
document.SymbolMappings = symbolMappings; |
486 | 494 |
document.ChildSymbolMappings = childSymbolMappings; |
487 | 495 |
document.LineMappings = lineMappings; |
내보내기 Unified diff