using HStation.RevitDev.Model.AttributeClass; using HStation.RevitDev.Model.ModelEnum; using System.Collections.Generic; using System.Linq; namespace HStation.Model { /// /// 水池 /// /// [ExportType(ExportType.EFT_Pool)] public class RevitTank : RevitParter, IRevitTank { /// /// /// public RevitTank() { } /// /// /// public RevitTank(RevitTank rhs) : base(rhs) { this.ModelType = rhs.ModelType; this.Elev = rhs.Elev; this.InitLevel = rhs.InitLevel; this.MinLevel = rhs.MinLevel; this.MaxLevel = rhs.MaxLevel; this.Diameter = rhs.Diameter; this.MinVol = rhs.MinVol; this.VolCurve = rhs.VolCurve; this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); } /// /// 型号 /// [Parameter("型号")] public string ModelType { get; set; } /// /// 池底标高 /// [Parameter("池底标高")] public double Elev { get; set; } /// /// 初始水位 /// [Parameter("初始水位")] public double InitLevel { get; set; } /// /// 最低水位 /// [Parameter("最低水位")] public double MinLevel { get; set; } /// /// 最高水位 /// [Parameter("最高水位")] public double MaxLevel { get; set; } /// /// 直径 /// [Parameter("直径")] public double Diameter { get; set; } /// /// 最小容积 /// [Parameter("最小容积")] public double MinVol { get; set; } /// /// 容积曲线 /// [Parameter("容积曲线")] public string VolCurve { get; set; } /// /// 属性值列表 /// [Parameter("属性值列表")] public List PropValueList { get; set; } /// /// 位置 /// [Parameter("位置")] public RevitBoundingBox BoundingBox { get; set; } } }