Connector.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:Connector
  3. * 作者:xulisong
  4. * 创建时间: 2019/6/12 11:04:03
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using JBIM.Common;
  13. using JBIM.Definition;
  14. namespace JBIM.Component
  15. {
  16. /// <summary>
  17. /// Connector信息
  18. /// </summary>
  19. [TypeDefiniton(TypeDefinition.Connector)]
  20. public class Connector:ComponentObject
  21. {
  22. public Connector()
  23. {
  24. ConnectedIds = new List<BimId>();
  25. }
  26. /// <summary>
  27. /// Connector所属专业域
  28. /// </summary>
  29. public string Domain { get; set; }
  30. /// <summary>
  31. /// 定位点
  32. /// </summary>
  33. public XYZ Origin { get; set; }
  34. /// <summary>
  35. /// 信息描述
  36. /// </summary>
  37. public string Description { get; set; }
  38. /// <summary>
  39. /// 是否连接
  40. /// </summary>
  41. public bool IsConnected { get; set; }
  42. /// <summary>
  43. /// Connector所属构件
  44. /// </summary>
  45. public BimId Owner { get; set; }
  46. /// <summary>
  47. /// Connector连接的connectorId
  48. /// </summary>
  49. public List<BimId> ConnectedIds { get;private set; }
  50. ///// <summary>
  51. ///// connector关联的系统实例
  52. ///// </summary>
  53. //public BimId MepSystem { get; set; }
  54. ///// <summary>
  55. ///// 关联系统类型名称
  56. ///// </summary>
  57. public string MepSystemTypeName { get; set; }
  58. }
  59. }