lixiaojun
2024-09-23 997498641908be694fd58604b5448710e677167d
换热器 闷头修正
已修改1个文件
19 ■■■■ 文件已修改
Service/HStation.Service.Revit.Core/04-service/02-correct/RevitCorrectHelper.cs 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/04-service/02-correct/RevitCorrectHelper.cs
@@ -155,8 +155,23 @@
                            if (connectParter == null)
                            {
                                exchanger.ConnectList.Remove(connect);
                                //msg = $"换热器:{exchanger.Id} 连接组件 {connect.Id} 不存在";
                                // return false;
                            }
                            else
                            {
                                if (connectParter is RevitBlunthead blunthead)
                                {
                                    var decorator = new Model.RevitDecorator();
                                    decorator.Id = blunthead.Id;
                                    decorator.Code = blunthead.Code;
                                    decorator.Name = blunthead.Name;
                                    decorator.Category = RevitJsonCatalog.Blunthead;
                                    decorator.Decoration = null;
                                    decorator.Description = blunthead.Description;
                                    rhs.Decorators.Add(decorator);
                                    rhs.Bluntheads.Remove(blunthead);
                                    allParterList.Remove(connectParter);
                                }
                            }
                        }