개정판 53344e2c
dev issue #1230 : group line modeling
Change-Id: I7cae1eae82df7e03accabf6d84f64dba63f1b92a
DTI_PID/APIDConverter/Utils/APIDUtils.cs | ||
---|---|---|
54 | 54 |
|
55 | 55 |
return true; |
56 | 56 |
} |
57 |
public static bool IsConnectedLine(Line line1, Line line2) |
|
58 |
{ |
|
59 |
bool result = false; |
|
60 |
|
|
61 |
if (line1.CONNECTORS.Find(x => x.ConnectedObject == line2) != null && |
|
62 |
line2.CONNECTORS.Find(x => x.ConnectedObject == line1) != null) |
|
63 |
result = true; |
|
64 |
|
|
65 |
return result; |
|
66 |
} |
|
57 | 67 |
#endregion |
58 | 68 |
|
59 | 69 |
#region Only AVEVA |
내보내기 Unified diff