using HStation.RevitDev.Model.AttributeClass;
using HStation.RevitDev.Model.ModelEnum;
using System.Collections.Generic;
namespace HStation.Model
{
///
/// 模型信息
///
public class RevitModel
{
///
///
///
public RevitModel() { }
///
///
///
public RevitModel(RevitModel rhs)
{
this.Name = rhs.Name;
this.Description = rhs.Description;
this.Junctions = new List();
this.Reservoirs = new List();
this.Tanks = new List();
this.Pipes = new List();
this.Pumps = new List();
this.Valves = new List();
this.Decorators = new List();
}
///
/// 名称
///
public string Name { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 交点列表
///
[ExportType(ExportType.EFT_Node)]
public List Junctions { get; set; }
///
/// 水库列表
///
[ExportType(ExportType.EFT_Reservoir)]
public List Reservoirs { get; set; }
///
/// 水池列表
///
[ExportType(ExportType.EFT_Pool)]
public List Tanks { get; set; }
///
/// 管道列表
///
[ExportType(ExportType.EFT_Pipe)]
public List Pipes { get; set; }
///
/// 水泵列表
///
[ExportType(ExportType.EFT_Pump)]
public List Pumps { get; set; }
///
/// 阀门列表
///
[ExportType(ExportType.EFT_Valve)]
public List Valves { get; set; }
///
/// 装饰列表
///
public List Decorators { get; set; }
}
}