프로젝트

일반

사용자정보

개정판 6025ea51

ID6025ea51b39b721a2417949f858b201ef9037a7e
상위 018ee240
하위 243668f5

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

dev issue #503 : fix validation

Change-Id: I6c1b3a25eb5508718415a252cc508aa60a42e9ff

차이점 보기:

DTI_PID/SPPIDConverter/BaseModel/Document.cs
850 850
            List<string[]> flowDirectionCheck = new List<string[]>();
851 851
            foreach (var line in LINES)
852 852
            {
853
                if (line.TYPE != "Secondary" && line.TYPE != "Primary")
854
                    continue;
855

  
853 856
                foreach (var connector in line.CONNECTORS)
854 857
                {
855 858
                    if (connector.ConnectedObject != null &&
......
857 860
                        !SPPIDUtil.IsBranchLine(line, connector.ConnectedObject as Line))
858 861
                    {
859 862
                        Line connLine = connector.ConnectedObject as Line;
863
                        if (connLine.TYPE != "Secondary" && connLine.TYPE != "Primary")
864
                            continue;
860 865
                        int lineIndex1 = line.CONNECTORS.IndexOf(connector);
861 866
                        int lineIndex2 = connLine.CONNECTORS.IndexOf(connLine.CONNECTORS.Find(x => x.ConnectedObject == line));
862 867
                        if (lineIndex1 == lineIndex2 && flowDirectionCheck.Find(x => (x[0] == line.UID || x[1] == connLine.UID) || (x[1] == line.UID || x[0] == connLine.UID)) == null)

내보내기 Unified diff

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