| | |
| | | namespace HStation.Model |
| | | { |
| | | /// <summary> |
| | | /// 节点 |
| | | /// 连接节点 |
| | | /// </summary> |
| | | public class RevitJunction : RevitParter, IRevitJunction |
| | | { |
| | |
| | | /// </summary> |
| | | public RevitJunction(RevitJunction rhs) : base(rhs) |
| | | { |
| | | this.ModelType = rhs.ModelType; |
| | | this.Quality = rhs.Quality; |
| | | this.Position = rhs.Position; |
| | | this.Elev = rhs.Elev; |
| | | this.Demand = rhs.Demand; |
| | | this.Pattern = rhs.Pattern; |
| | | this.X = rhs.X; |
| | | this.Y = rhs.Y; |
| | | this.Z = rhs.Z; |
| | | this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); |
| | | this.DemandPattern = rhs.DemandPattern; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 型号 |
| | | /// 初始水质 |
| | | /// </summary> |
| | | public string ModelType { get; set; } |
| | | public double Quality { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 位置 |
| | | /// </summary> |
| | | public RevitPosition Position { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标高 |
| | |
| | | /// <summary> |
| | | /// 需水量 |
| | | /// </summary> |
| | | public double Demand { get; set; } |
| | | public double? Demand { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 需水模式 |
| | | /// </summary> |
| | | public string Pattern { get; set; } |
| | | |
| | | /// <summary> |
| | | /// X坐标 |
| | | /// </summary> |
| | | public double X { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Y坐标 |
| | | /// </summary> |
| | | public double Y { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Z坐标 |
| | | /// </summary> |
| | | public double Z { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 属性值列表 |
| | | /// </summary> |
| | | public List<RevitPropValue> PropValueList { get; set; } |
| | | public string DemandPattern { get; set; } |
| | | |
| | | } |
| | | } |