添加项目文件。
This commit is contained in:
71
RevitKits/ParameterManager/SharedParamModel.cs
Normal file
71
RevitKits/ParameterManager/SharedParamModel.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
namespace SZBIM.StandardTools.ParameterManager
|
||||
{
|
||||
/// <summary>
|
||||
/// 共享参数表的模型(用于存储所有共享参数)
|
||||
/// </summary>
|
||||
public class SharedParamModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性全名
|
||||
/// </summary>
|
||||
public string FullParamName
|
||||
{
|
||||
get
|
||||
{
|
||||
if (string.IsNullOrEmpty(ParamCategoryCode) || string.IsNullOrEmpty(ParamGroupCode))
|
||||
{
|
||||
return $"{ParamName}";
|
||||
}
|
||||
|
||||
return $"{ParamCategoryCode}-{ParamGroupCode}-{ParamName}";
|
||||
}
|
||||
}
|
||||
|
||||
public string Guid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数分组
|
||||
/// </summary>
|
||||
public string ParamGroup { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数类别代码
|
||||
/// </summary>
|
||||
public string ParamCategoryCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组代码
|
||||
/// </summary>
|
||||
public string ParamGroupCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数名
|
||||
/// </summary>
|
||||
public string ParamName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规程
|
||||
/// </summary>
|
||||
public string ParamDiscipline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例、类型
|
||||
/// </summary>
|
||||
public string ParamType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可见性
|
||||
/// </summary>
|
||||
public string Visiable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户修改
|
||||
/// </summary>
|
||||
public string UserModifiable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 没有值时隐藏
|
||||
/// </summary>
|
||||
public string HideWhenNoValue { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user