JoinContext.cs 1010 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace FWindSoft.Revit.Mep
  7. {
  8. /// <summary>
  9. /// 随时扩展一些连接中,可能需要的配置信息
  10. /// </summary>
  11. public class JoinContext
  12. {
  13. /// <summary>
  14. /// 创建连接时,是否检查待连接Connector的链接状态
  15. /// </summary>
  16. public bool IsCheckConnected { get; set; } = true;
  17. /// <summary>
  18. /// 接线盒摆放形式
  19. /// </summary>
  20. public JunctionBoxPlaceType JunctionBoxPlace { get; set; } = JunctionBoxPlaceType.TurnHorizontally;
  21. }
  22. public enum JunctionBoxPlaceType
  23. {
  24. /// <summary>
  25. /// 不调整
  26. /// </summary>
  27. NoAdjustment = 0,
  28. /// <summary>
  29. /// 调整成横向
  30. /// </summary>
  31. TurnHorizontally = 1,
  32. /// <summary>
  33. /// 调整层纵向
  34. /// </summary>
  35. TurnVertical = 2,
  36. }
  37. }