namespace HStation.Model { /// /// 组件 /// public abstract class RevitParter { /// /// /// public RevitParter() { } /// /// /// public RevitParter(Model.RevitParter rhs) { this.Id = rhs.Id; this.Catalog = rhs.Catalog; this.Name = rhs.Name; this.Code = rhs.Code; this.ModelType = rhs.ModelType; this.Flags = rhs.Flags; this.Description = rhs.Description; this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); this.PropStatusList = rhs.PropStatusList?.Select(x => new RevitPropStatus(x)).ToList(); } /// /// Id /// public string Id { get; set; } /// /// 分类 /// public string Catalog { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 型号 /// public string ModelType { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 属性值列表 /// public List PropValueList { get; set; } /// /// 属性状态列表 /// public List PropStatusList { get; set; } } }