ElementOneToOneRel.cs 861 B

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