using HStation.RevitDev.Model.AttributeClass;
using HStation.RevitDev.Model.Enum;
namespace HStation.Model
{
///
/// 扩散器
///
///
[ExportType(ExportFamilyType.EFT_Shower)]
public class RevitEmitter : RevitParter, IRevitEmitter
{
///
///
///
public RevitEmitter() { }
///
///
///
public RevitEmitter(RevitEmitter rhs) : base(rhs)
{
this.ModelType = rhs.ModelType;
this.FlowCoefficient = rhs.FlowCoefficient;
this.EmitterType = rhs.EmitterType;
this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
this.BoundingBox = rhs.BoundingBox;
}
///
/// 型号
///
[Parameter("型号")]
public string ModelType { get; set; }
///
/// 流量系数
///
[Parameter("流量系数")]
public double FlowCoefficient { get; set; }
///
/// 扩散器类型
///
[Parameter("扩散器类型")]
public string EmitterType { get; set; }
///
/// 属性值列表
///
[Parameter("属性值列表")]
public List PropValueList { get; set; }
///
/// 位置
///
[Parameter("位置")]
public RevitBoundingBox BoundingBox { get; set; }
}
}