프로젝트

일반

사용자정보

개정판 209a7ef9

ID209a7ef9c002e270395113b919ed4981f846cdea
상위 83b5c192
하위 b64dfacd, 912a05b0

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

dev issue #1174 : line join 방식 변경(Join 할때 FlowDirection설정)

Change-Id: Iaf19060976df6e286ff1c00a9af171150a5d373a

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
2667 2667
                    beforeID = modelItem2.Id;
2668 2668
                    afterID = modelItem1.Id;
2669 2669
                    survivorId = afterID;
2670
                    modelItem1.Attributes["FlowDirection"].set_Value("End 1 is upstream (Inlet)");
2670 2671
                }
2671 2672
                else if (modelItem1.get_ItemStatus() != "Active" && modelItem2.get_ItemStatus() == "Active")
2672 2673
                {
2673 2674
                    beforeID = modelItem1.Id;
2674 2675
                    afterID = modelItem2.Id;
2675 2676
                    survivorId = afterID;
2677
                    modelItem2.Attributes["FlowDirection"].set_Value("End 1 is upstream (Inlet)");
2676 2678
                }
2677 2679
                else if (modelItem1.get_ItemStatus() == "Active" && modelItem2.get_ItemStatus() == "Active")
2678 2680
                    survivorId = null;
......
3746 3748
                            if (modelItemIds.Count == 1)
3747 3749
                            {
3748 3750
                                string joinModelItemId = modelItemIds[0];
3749
                                CheckZeroLengthAndLabel(ref joinModelItemId);
3751
                                //CheckZeroLengthAndLabel(ref joinModelItemId);
3750 3752
                                JoinRun(joinModelItemId, modelItemId, ref survivorId);
3751 3753
                                if (survivorId != null)
3752 3754
                                    break;
......
3759 3761
                            if (modelItemIds.Count == 1)
3760 3762
                            {
3761 3763
                                string joinModelItemId = modelItemIds[0];
3762
                                CheckZeroLengthAndLabel(ref joinModelItemId);
3764
                                //CheckZeroLengthAndLabel(ref joinModelItemId);
3763 3765
                                JoinRun(joinModelItemId, modelItemId, ref survivorId);
3764 3766
                                if (survivorId != null)
3765 3767
                                    break;

내보내기 Unified diff

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