프로젝트

일반

사용자정보

개정판 16584d30

ID16584d3062b4fc687d0fd84f4843f7dcb38955ef
상위 b8109b41
하위 9f104970

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

dev issue #366 : SpecBreakModeling 완료

Change-Id: Icd84c16676843543fd861e5701cfc8f6b2806f8f

차이점 보기:

DTI_PID/SPPIDConverter/ConverterDocking.cs
138 138
            Placement _placement = new Placement();
139 139
            LMADataSource dataSource = new LMADataSource();//placement.PIDDataSource;
140 140

  
141
            string modelItemId = "76D079A9B3694A4AA46B46602729CE3F";
141
            string modelItemId = "1D6CF009BFCB46BFA78ADEEBA09B2E07";
142 142
            LMModelItem modelItem = dataSource.GetModelItem(modelItemId);
143 143
            _LMAItem item = modelItem.AsLMAItem();
144 144
            try
145 145
            {
146
                string modelitemID = item.Id;
147
                _placement.PIDAutoJoin(item, AutoJoinEndConstants.autoJoin_Both, ref item);
148
                string afterModelItemID = item.Id;
149

  
150
                if (modelitemID != afterModelItemID)
146
                foreach (LMRepresentation rep in modelItem.Representations)
151 147
                {
148
                    if (rep.Attributes["RepresentationType"].get_Value() == "Connector" && rep.Attributes["ItemStatus"].get_Value() == "Active")
149
                    {
150
                        LMConnector _LMConnector = dataSource.GetConnector(rep.Id);
152 151

  
152

  
153
                    }
153 154
                }
154
                item.Commit();
155 155
            }
156 156
            catch (Exception ex)
157 157
            {

내보내기 Unified diff

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