개정판 4c7a4484
dev issue #507 : fix bug
Change-Id: I63fc654a30431f75817c50fc24d835e2ee5b3ccd
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
2176 | 2176 |
if (modelItem != null) |
2177 | 2177 |
{ |
2178 | 2178 |
LMAAttribute attribute = modelItem.Attributes["FlowDirection"]; |
2179 |
attribute.set_Value("End 1 is upstream (Inlet)"); |
|
2179 |
if (attribute != null) |
|
2180 |
attribute.set_Value("End 1 is upstream (Inlet)"); |
|
2180 | 2181 |
modelItem.Commit(); |
2181 | 2182 |
} |
2182 | 2183 |
ReleaseCOMObjects(modelItem); |
내보내기 Unified diff