using CommunityToolkit.Mvvm.ComponentModel; namespace SZBIM.StandardTools.ParameterManager { /// /// 属性表的参数模型 /// public class ParamModel : ObservableObject { private bool? isChecked = true; /// /// 属性全名 /// public string FullParamName { get { if (string.IsNullOrEmpty(ParamCategoryCode) || string.IsNullOrEmpty(ParamGroupCode)) { return $"{ParamName}"; } return $"{ParamCategoryCode}-{ParamGroupCode}-{ParamName}"; } } /// /// 属性 /// public string FullProperty { get { if (string.IsNullOrEmpty(PropertyCategoryCode) || string.IsNullOrEmpty(PropertyGroupCode)) { return $"{Property}"; } return $"{PropertyCategoryCode}-{PropertyGroupCode}-{Property}"; } } public bool? IsChecked { get => isChecked; set => SetProperty(ref isChecked, value); } public string Guid { get; set; } /// /// 项目类型 /// public string Position { get; set; } /// /// 项目 /// public string Project { get; set; } /// /// 专业 /// public string Major { get; set; } /// /// 构件 /// public string Component { get; set; } /// /// 属性类别 /// public string PropertyCategory { get; set; } /// /// 属性类别代码 /// public string PropertyCategoryCode { get; set; } /// /// 属性分组类别 /// public string PropertyGroup { get; set; } /// /// 属性分组代码 /// public string PropertyGroupCode { get; set; } /// /// 属性 /// public string Property { get; set; } /// /// 信息等级 /// public string InformationLevel { get; set; } /// /// 方案设计 /// public string ConceptPhase { get; set; } /// /// 初设 /// public string PreliminaryPhase { get; set; } /// /// 施设 /// public string ConstructPhase { get; set; } /// /// 深化设计 /// public string DeepeningPhase { get; set; } /// /// 单位 /// public string Unit { get; set; } /// /// 参数分组 /// public string ParamGroup { get; set; } /// /// 参数类别代码 /// public string ParamCategoryCode { get; set; } /// /// 分组代码 /// public string ParamGroupCode { get; set; } /// /// 参数名 /// public string ParamName { get; set; } /// /// 规程 /// public string ParamDiscipline { get; set; } /// /// 实例、类型 /// public string ParamType { get; set; } /// /// 可见性 /// public string Visiable { get; set; } /// /// 用户修改 /// public string UserModifiable { get; set; } /// /// 没有值时隐藏 /// public string HideWhenNoValue { get; set; } } }