개정판 9133d5d8
dev issue #683: 2개의 심볼 모델링
DTI_PID/SPPIDConverter/Main.vb | ||
---|---|---|
319 | 319 |
_symbol.LOCATION = oSymbol.Element(_XML_SYMBOLS_SYMBOL_LOCATION).Value |
320 | 320 |
_symbol.SIZE = oSymbol.Element(_XML_SYMBOLS_SYMBOL_SIZE).Value |
321 | 321 |
_symbol.PARENT = oSymbol.Element(_XML_SYMBOLS_SYMBOL_PARENT).Value |
322 |
_symbol.CHILD = oSymbol.Element(_XML_SYMBOLS_SYMBOL_CHILD).Value |
|
322 |
Dim strChild As String = oSymbol.Element(_XML_SYMBOLS_SYMBOL_CHILD).Value |
|
323 |
Dim arrChild As String() = strChild.Split("/") |
|
324 |
For Each _child As String In arrChild |
|
325 |
Dim info As String() = _child.Split(",") |
|
326 |
Dim childMappingName = GetDataFromMappingDB(info(1), _DB_COLUMN_MAPPING_SPPID_SYSTEMPATH) |
|
327 |
If String.IsNullOrEmpty(childMappingName) = False Then |
|
328 |
_symbol.CHILD.Add(info(0) + "," + childMappingName) |
|
329 |
Else |
|
330 |
Console.WriteLine("Mapping Fail : " + info(1)) |
|
331 |
End If |
|
332 |
Next |
|
323 | 333 |
_symbol.HASINSTRUMENTLABEL = oSymbol.Element(_XML_SYMBOLS_SYMBOL_HASINSTRUMENTLABEL).Value |
324 | 334 |
_symbol.AREA = oSymbol.Element(_XML_SYMBOLS_SYMBOL_AREA).Value |
325 | 335 |
_symbol.CURRENTPOINTMODEINDEX = oSymbol.Element(_XML_SYMBOLS_SYMBOL_CURRENTPOINTMODEINDEX).Value |
내보내기 Unified diff