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.Diameter = rhs.Diameter; this.MinorLoss = rhs.MinorLoss; this.ValveType = rhs.ValveType; this.ValveSetting = rhs.ValveSetting; this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); this.BoundingBox = rhs.BoundingBox; } /// /// 型号 /// public string ModelType { get; set; } /// /// 上游节点 /// public string StartCode { get; set; } /// /// 下游节点 /// public string EndCode { get; set; } /// /// 直径 /// public double Diameter { get; set; } /// /// 局部阻力系数 /// public double MinorLoss { get; set; } /// /// 阀门类型 /// public string ValveType { get; set; } /// /// 阀门设置 /// public string ValveSetting { get; set; } /// /// 属性值列表 /// public List PropValueList { get; set; } /// /// 位置 /// public RevitBoundingBox BoundingBox { get; set; } } }