| | |
| | | |
| | | public Link() |
| | | { |
| | | // this.Vertices = new List<EnPoint>(); |
| | | // this.Status = StatusType.XHEAD; |
| | | // this.Vertices = new List<EnPoint>(); |
| | | // this.Status = StatusType.XHEAD; |
| | | } |
| | | |
| | | public Link(Link rhs) |
| | | { |
| | | this.Id = rhs.Id; |
| | | // this.LinkType = rhs.LinkType; |
| | | // this.Diameter = rhs.Diameter; |
| | | // this.Lenght = rhs.Lenght; |
| | | { |
| | | this.Id = rhs.Id; |
| | | // this.LinkType = rhs.LinkType; |
| | | // this.Diameter = rhs.Diameter; |
| | | // this.Lenght = rhs.Lenght; |
| | | this.FirstNode = rhs.FirstNode; |
| | | this.SecondNode = rhs.SecondNode; |
| | | // this.Status = rhs.Status; |
| | | // this.Status = rhs.Status; |
| | | //this.Vertices = rhs.Vertices?.ToList(); |
| | | } |
| | | |
| | |
| | | /// <summary> |
| | | /// 类型 |
| | | /// </summary> |
| | | // public LinkType LinkType { get; set; } |
| | | |
| | | // public LinkType LinkType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 直径 |
| | | /// </summary> |
| | | // public double Diameter { get; set; } |
| | | // public double Diameter { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 长度 |
| | | /// </summary> |
| | | // public double Lenght { get; set; } |
| | | // public double Lenght { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 起始点 |
| | | /// </summary> |
| | | public Node FirstNode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 结束点 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// ״̬ |
| | | /// </summary> |
| | | // public StatusType Status { get; set; } |
| | | |
| | | // public StatusType Status { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 连接点 |
| | | /// </summary> |
| | | // public List<EnPoint> Vertices { get; set; } |
| | | // public List<EnPoint> Vertices { get; set; } |
| | | |
| | | |
| | | } |