개정판 e283d483
dev issue #000 : minror
Change-Id: I6056717f27bea682bdcd44cf105e2f7196257e63
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
1540 | 1540 |
|
1541 | 1541 |
foreach (var groupLine in group) |
1542 | 1542 |
{ |
1543 |
if (!isBranchModeling) |
|
1543 |
if (!isBranchModeling && SPPIDUtil.IsBranchLine(groupLine))
|
|
1544 | 1544 |
{ |
1545 | 1545 |
BranchLines.Add(groupLine); |
1546 | 1546 |
continue; |
... | ... | |
3735 | 3735 |
return 0; |
3736 | 3736 |
} |
3737 | 3737 |
|
3738 |
int CompareNotSegmentLine(Line a, Line b) |
|
3739 |
{ |
|
3740 |
List<Connector> connectorsA = a.CONNECTORS |
|
3741 |
.Where(conn => conn.ConnectedObject != null && conn.ConnectedObject.GetType() == typeof(Symbol)) |
|
3742 |
.ToList(); |
|
3743 |
|
|
3744 |
List<Connector> connectorsB = b.CONNECTORS |
|
3745 |
.Where(conn => conn.ConnectedObject != null && conn.ConnectedObject.GetType() == typeof(Symbol)) |
|
3746 |
.ToList(); |
|
3747 |
|
|
3748 |
// 오름차순 |
|
3749 |
return connectorsB.Count.CompareTo(connectorsA.Count); |
|
3750 |
} |
|
3751 |
|
|
3738 | 3752 |
int CompareConnSymbol(Line a, Line b) |
3739 | 3753 |
{ |
3740 | 3754 |
List<Connector> connectorsA = a.CONNECTORS |
내보내기 Unified diff