namespace HStation.WinFrmUI
{
///
///
///
public class XhsProjectResultRevitViewModel
{
///
///
///
public XhsProjectResultRevitViewModel() { }
///
///
///
public XhsProjectResultRevitViewModel(HStation.Model.RevitParter parter, HStation.Model.RevitPropStatus propStatus)
{
this.Catalog = parter.Catalog;
this.Name = parter.Name;
this.Code = parter.Id;
this.PropName = propStatus.PropName;
this.PropStatus = propStatus.PropStatus;
this.StatusInfo = propStatus.StatusInfo;
}
///
/// 构件类型
///
[DisplayName("构件类型")]
public string Catalog { get; set; }
///
/// 构件名称
///
[DisplayName("构件名称")]
public string Name { get; set; }
///
/// 构件编码
///
[DisplayName("构件编码")]
public string Code { get; set; }
///
/// 属性名称
///
[DisplayName("属性名称")]
public string PropName { get; set; }
///
/// 属性状态
///
[DisplayName("属性状态")]
public HStation.Revit.ePropStatus PropStatus { get; set; }
///
/// 状态信息
///
[DisplayName("状态信息")]
public string StatusInfo { get; set; }
}
}