ElementOneToManyRel.cs 917 B

1234567891011121314151617181920212223242526272829303132
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:OneToManyRel
  3. * 作者:xulisong
  4. * 创建时间: 2019/6/17 10:49:50
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System.Collections.Generic;
  8. namespace RevitToJBim.ParseData
  9. {
  10. public class ElementOneToManyRel : ElementRelationShip
  11. {
  12. public ElementOneToManyRel()
  13. {
  14. }
  15. public ElementOneToManyRel(string relatingObject)
  16. {
  17. RelatingObject = relatingObject;
  18. }
  19. public ElementOneToManyRel(string relatingObject, List<string> relatedObjects)
  20. {
  21. RelatingObject = relatingObject;
  22. RelatedObjects = relatedObjects;
  23. }
  24. /// <summary>
  25. /// 关联对象
  26. /// </summary>
  27. public List<string> RelatedObjects { get; set; }
  28. }
  29. }