프로젝트

일반

사용자정보

개정판 e283d483

IDe283d483d703fbd4504b96dc31a53e9db1478f9a
상위 f3e2693f
하위 cc6e888a

gaqhf 이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)