using HStation.RevitDev.Model.AttributeClass; using HStation.RevitDev.Model.Enum; namespace HStation.Model { /// /// 节点 /// /// [ExportType(ExportFamilyType.EFT_Node)] public class RevitJunction : RevitParter, IRevitJunction { /// /// /// public RevitJunction() { } /// /// /// public RevitJunction(RevitJunction rhs) : base(rhs) { this.ModelType = rhs.ModelType; this.Elev = rhs.Elev; this.Demand = rhs.Demand; this.Pattern = rhs.Pattern; this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); this.BoundingBox = rhs.BoundingBox; } /// /// 型号 /// /// [Parameter("型号")] public string ModelType { get; set; } /// /// 标高 /// [Parameter("标高")] public double Elev { get; set; } /// /// 需水量 /// [Parameter("需水量")] public double Demand { get; set; } /// /// 需水模式 /// [Parameter("需水模式")] public string Pattern { get; set; } /// /// 属性值列表 /// [Parameter("属性值列表")] public List PropValueList { get; set; } /// /// 位置 /// [Parameter("位置")] public RevitBoundingBox BoundingBox { get; set; } } }