프로젝트

일반

사용자정보

개정판 ad983925

IDad98392516fe6b5158bf9c8396e4d36dbe059f95
상위 ab245b6d
하위 4bc0a8e9

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

dev issue #000 : fix

Change-Id: I96d32e5a0804e36ac6fb5eca1a4e855608a77e8a

차이점 보기:

DTI_PID/APIDConverter/AutoModeling.cs
1040 1040
        private Model.Line FindOtherLineByRun(Model.Line line, Symbol symbol)
1041 1041
        {
1042 1042
            Model.Line result = null;
1043
            LineRun run = FindLineRun(line);
1044
            Connector connector = symbol.CONNECTORS.Find(x =>
1045
            x.ConnectedObject != null &&
1046
            x.ConnectedObject != line &&
1047
            run.RUNITEMS.Contains(x.ConnectedObject) &&
1048
            x.ConnectedObject.GetType() == typeof(Model.Line));
1049

  
1050
            if (connector != null)
1051
                result = connector.ConnectedObject as Model.Line;
1043

  
1044
            try
1045
            {
1046
                LineRun run = FindLineRun(line);
1047
                Connector connector = symbol.CONNECTORS.Find(x =>
1048
                x.ConnectedObject != null &&
1049
                x.ConnectedObject != line &&
1050
                run.RUNITEMS.Contains(x.ConnectedObject) &&
1051
                x.ConnectedObject.GetType() == typeof(Model.Line));
1052

  
1053
                if (connector != null)
1054
                    result = connector.ConnectedObject as Model.Line;
1055
            }
1056
            catch (System.Exception ex)
1057
            {
1058
                throw new System.Exception("Error", ex);
1059
            }
1052 1060
            
1053 1061
            return result;
1054 1062
        }

내보내기 Unified diff

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