개정판 f28a350a
issue #663: setCurrentPidSource method 제거로 인한 오류 수정
Change-Id: Ia7c67a83ae51228dee1d13344dc300a3f10302bd
DTI_PID/SPPIDConverter/ConverterForm.cs | ||
---|---|---|
206 | 206 |
_ID2SymbolTable = null; |
207 | 207 |
} |
208 | 208 |
_ID2SymbolTable = Project_DB.SelectID2SymbolTable(); |
209 |
|
|
210 |
if (_ID2SymbolTypeDT != null) |
|
211 |
{ |
|
212 |
_ID2SymbolTypeDT.Dispose(); |
|
213 |
_ID2SymbolTypeDT = null; |
|
214 |
} |
|
215 |
_ID2SymbolTypeDT = Project_DB.SelectSymbolType(); |
|
209 | 216 |
InitID2Symbol(); |
210 | 217 |
InitID2Line(); |
211 | 218 |
InitID2LineNumber(); |
... | ... | |
484 | 491 |
{ |
485 | 492 |
foreach (string fileName in xtraOpenFileDialog.FileNames) |
486 | 493 |
{ |
487 |
SPPID_Document document = new SPPID_Document(fileName); |
|
494 |
SPPID_Document document = new SPPID_Document(fileName, _ID2SymbolTypeDT);
|
|
488 | 495 |
|
489 | 496 |
document.SymbolTable = _ID2SymbolTable; |
490 | 497 |
document.SymbolMappings = symbolMappings; |
... | ... | |
702 | 709 |
foreach (DataRow row in _ConverterDT.Rows) |
703 | 710 |
{ |
704 | 711 |
string fileName = row["colDrawingFilePath"].ToString(); |
705 |
SPPID_Document document = new SPPID_Document(fileName); |
|
712 |
SPPID_Document document = new SPPID_Document(fileName, _ID2SymbolTypeDT);
|
|
706 | 713 |
document.SymbolTable = _ID2SymbolTable; |
707 | 714 |
document.SymbolMappings = symbolMappings; |
708 | 715 |
document.ChildSymbolMappings = childSymbolMappings; |
내보내기 Unified diff