namespace HStation.Model
{
///
/// 阀门
///
public class RevitValve : RevitParter, IRevitValve
{
///
///
///
public RevitValve() { }
///
///
///
public RevitValve(RevitValve 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.MinorLoss = rhs.MinorLoss;
this.ValveType = rhs.ValveType;
this.ValveSetting = rhs.ValveSetting;
this.PropValueList = rhs.PropValueList;
this.BoundingBox = rhs.BoundingBox;
}
///
/// 型号信息
///
[JsonProperty("型号信息", NullValueHandling = NullValueHandling.Ignore)]
public string ModelType { get; set; }
///
/// 上游节点编码
///
[JsonProperty("上游节点编码", NullValueHandling = NullValueHandling.Ignore)]
public string StartCode { get; set; }
///
/// 下游节点编码
///
[JsonProperty("下游节点编码", NullValueHandling = NullValueHandling.Ignore)]
public string EndCode { get; set; }
///
/// 阀门状态
///
[JsonProperty("阀门状态", NullValueHandling = NullValueHandling.Ignore)]
public string LinkStatus { get; set; }
///
/// 上游标高
///
[JsonProperty("上游标高", NullValueHandling = NullValueHandling.Ignore)]
public double StartElev { get; set; }
///
/// 下游标高
///
[JsonProperty("下游标高", NullValueHandling = NullValueHandling.Ignore)]
public double EndElev { get; set; }
///
/// 阀门直径
///
[JsonProperty("阀门直径", NullValueHandling = NullValueHandling.Ignore)]
public double Diameter { get; set; }
///
/// 局部阻力系数
///
[JsonProperty("局部阻力系数", NullValueHandling = NullValueHandling.Ignore)]
public double MinorLoss { get; set; }
///
/// 阀门类型
///
[JsonProperty("阀门类型", NullValueHandling = NullValueHandling.Ignore)]
public string ValveType { get; set; }
///
/// 阀门设置
///
[JsonProperty("阀门设置", NullValueHandling = NullValueHandling.Ignore)]
public string ValveSetting { get; set; }
///
/// 属性值列表
///
[JsonProperty("属性值列表", NullValueHandling = NullValueHandling.Ignore)]
public Dictionary PropValueList { get; set; }
///
/// 位置
///
[JsonProperty("位置", NullValueHandling = NullValueHandling.Ignore)]
public RevitBoundingBox BoundingBox { get; set; }
}
}