namespace HStation.Model
|
{
|
/// <summary>
|
/// 阀门
|
/// </summary>
|
public class RevitValve : RevitParter, IRevitValve
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public RevitValve() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public RevitValve(RevitValve rhs) : base(rhs)
|
{
|
this.ModelType = rhs.ModelType;
|
this.Elev = rhs.Elev;
|
this.StartCode = rhs.StartCode;
|
this.EndCode = rhs.EndCode;
|
this.Diameter = rhs.Diameter;
|
this.MinorLoss = rhs.MinorLoss;
|
this.ValveType = rhs.ValveType;
|
this.ValveSetting = rhs.ValveSetting;
|
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 double Elev { get; set; }
|
|
/// <summary>
|
/// 直径
|
/// </summary>
|
[JsonProperty("直径", NullValueHandling = NullValueHandling.Ignore)]
|
public double Diameter { get; set; }
|
|
/// <summary>
|
/// 局部阻力系数
|
/// </summary>
|
[JsonProperty("局部阻力系数", NullValueHandling = NullValueHandling.Ignore)]
|
public double MinorLoss { get; set; }
|
|
/// <summary>
|
/// 阀门类型
|
/// </summary>
|
[JsonProperty("阀门类型", NullValueHandling = NullValueHandling.Ignore)]
|
public string ValveType { get; set; }
|
|
/// <summary>
|
/// 阀门设置
|
/// </summary>
|
[JsonProperty("阀门设置", NullValueHandling = NullValueHandling.Ignore)]
|
public string ValveSetting { 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; }
|
|
|
}
|
}
|