using HStation.RevitDev.Model.AttributeClass; using HStation.RevitDev.Model.ModelEnum; using System.Collections.Generic; using System.Linq; namespace HStation.Model { /// /// 水库 /// /// [ExportType(ExportType.EFT_Reservoir)] public class RevitReservoir : RevitParter, IRevitReservoir { /// /// /// public RevitReservoir() { } /// /// /// public RevitReservoir(RevitReservoir rhs) : base(rhs) { this.ModelType = rhs.ModelType; this.Head = rhs.Head; this.Pattern = rhs.Pattern; this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); this.BoundingBox = rhs.BoundingBox; } /// /// 型号 /// [Parameter("型号")] public string ModelType { get; set; } /// /// 总水头 /// public double Head { get; set; } /// /// 模式 /// [Parameter("模式")] public string Pattern { get; set; } /// /// 属性值列表 /// [Parameter("属性值列表")] public List PropValueList { get; set; } /// /// 位置 /// [Parameter("位置")] public RevitBoundingBox BoundingBox { get; set; } } }