namespace HStation.Model
|
{
|
/// <summary>
|
/// 管道
|
/// </summary>
|
public class RevitPipe : RevitParter, IRevitPipe
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public RevitPipe() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public RevitPipe(RevitPipe rhs) : base(rhs)
|
{
|
this.ModelType = rhs.ModelType;
|
this.StartCode = rhs.StartCode;
|
this.EndCode = rhs.EndCode;
|
this.LinkStatus = rhs.LinkStatus;
|
this.StartElev = rhs.StartElev;
|
this.EndElev = rhs.EndElev;
|
this.Diameter = rhs.Diameter;
|
this.Length = rhs.Length;
|
this.Roughness = rhs.Roughness;
|
this.MinorLoss = rhs.MinorLoss;
|
this.PropValueList = rhs.PropValueList;
|
this.BoundingBox = rhs.BoundingBox;
|
}
|
|
/// <summary>
|
/// 型号信息
|
/// </summary>
|
[JsonProperty("型号信息", NullValueHandling = NullValueHandling.Ignore)]
|
public string ModelType { get; set; }
|
|
/// <summary>
|
/// 上游节点编码
|
/// </summary>
|
[JsonProperty("上游节点编码", NullValueHandling = NullValueHandling.Ignore)]
|
public string StartCode { get; set; }
|
|
/// <summary>
|
/// 下游节点编码
|
/// </summary>
|
[JsonProperty("下游节点编码", NullValueHandling = NullValueHandling.Ignore)]
|
public string EndCode { get; set; }
|
|
/// <summary>
|
/// 水泵状态
|
/// </summary>
|
[JsonProperty("水泵状态", NullValueHandling = NullValueHandling.Ignore)]
|
public string LinkStatus { get; set; }
|
|
/// <summary>
|
/// 上游标高
|
/// </summary>
|
[JsonProperty("上游标高", NullValueHandling = NullValueHandling.Ignore)]
|
public double StartElev { get; set; }
|
|
/// <summary>
|
/// 下游标高
|
/// </summary>
|
[JsonProperty("下游标高", NullValueHandling = NullValueHandling.Ignore)]
|
public double EndElev { get; set; }
|
|
/// <summary>
|
/// 直径(内径) mm
|
/// </summary>
|
[JsonProperty("直径", NullValueHandling = NullValueHandling.Ignore)]
|
public double Diameter { get; set; }
|
|
/// <summary>
|
/// 长度
|
/// </summary>
|
[JsonProperty("长度", NullValueHandling = NullValueHandling.Ignore)]
|
public double Length { get; set; }
|
|
/// <summary>
|
/// 粗糙系数
|
/// </summary>
|
[JsonProperty("粗糙系数", NullValueHandling = NullValueHandling.Ignore)]
|
public double Roughness { get; set; }
|
|
/// <summary>
|
/// 局部阻力系数
|
/// </summary>
|
[JsonProperty("局部阻力系数", NullValueHandling = NullValueHandling.Ignore)]
|
public double MinorLoss { get; set; }
|
|
/// <summary>
|
/// 属性值列表
|
/// </summary>
|
[JsonProperty("属性值列表", NullValueHandling = NullValueHandling.Ignore)]
|
public Dictionary<string, object> PropValueList { get; set; }
|
|
/// <summary>
|
/// 位置
|
/// </summary>
|
[JsonProperty("位置", NullValueHandling = NullValueHandling.Ignore)]
|
public RevitBoundingBox BoundingBox { get; set; }
|
|
}
|
}
|