| | |
| | | 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); |
| | | } |
| | | } |
| | | } |
| | | |