개정판 8eee15b4
Link OPC: Prevent exceptions
Change-Id: Ia1f57bd64aaf6b393a4eb104e82ad76e33749a70
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
2606 | 2606 |
if (currentLine.CONNECTORS[0].ConnectedObject != null |
2607 | 2607 |
&& currentLine.CONNECTORS[0].ConnectedObject.GetType() == typeof(Line) |
2608 | 2608 |
&& string.IsNullOrEmpty(((Line)currentLine.CONNECTORS[0].ConnectedObject).SPPID.ModelItemId) |
2609 |
&& currentLine.TRYCOUNT < 10) |
|
2609 |
&& currentLine.TRYCOUNT < 100)
|
|
2610 | 2610 |
{ |
2611 | 2611 |
currentLine.TRYCOUNT++; |
2612 | 2612 |
break; |
내보내기 Unified diff