Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/dosymep.Bim4Everyone/ProjectParams/ProjectParam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ internal static ForgeTypeId GetUnitType(string paramId) {
return SpecTypeId.String.Text;
case nameof(ProjectParamsConfig.ListOfSchedulesGroup):
return SpecTypeId.String.Text;
case nameof(ProjectParamsConfig.RoomNoGlazing):
return SpecTypeId.Boolean.YesNo;
default:
throw new ArgumentException($"Не найден параметр проекта с идентификатором \"{paramId}\".",
nameof(paramId));
Expand Down
10 changes: 10 additions & 0 deletions src/dosymep.Bim4Everyone/ProjectParams/ProjectParamsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,16 @@ public ProjectParam RelatedRoomGroup
StorageType = StorageType.String
};

/// <summary>
/// КВГ_Без остекления
/// </summary>
public ProjectParam RoomNoGlazing
{ get; } = new ProjectParam(nameof(RoomNoGlazing)) {
Name = "КВГ_Без остекления",
UnitType = ProjectParam.GetUnitType(nameof(RoomNoGlazing)),
StorageType = StorageType.Integer
};

#if REVIT2020 || REVIT2021

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions src/dosymep.Bim4Everyone/SharedParams/SharedParam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,8 @@ internal static ForgeTypeId GetUnitType(string paramId) {
return SpecTypeId.String.Text;
case nameof(SharedParamsConfig.VISMaskMark):
return SpecTypeId.String.Text;
case nameof(SharedParamsConfig.RoomFloorDifference):
return SpecTypeId.Length;
default:
throw new ArgumentException($"Не найден общий параметр с идентификатором \"{paramId}\".",
nameof(paramId));
Expand Down
9 changes: 9 additions & 0 deletions src/dosymep.Bim4Everyone/SharedParams/SharedParamsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,15 @@ public SharedParam SizeVolumeBuildingWorks
UnitType = SharedParam.GetUnitType(nameof(VISMaskMark)),
StorageType = StorageType.String
};

/// <summary>
/// ФОП_Перепад ЛП
/// </summary>
public SharedParam RoomFloorDifference { get; } = new SharedParam(nameof(RoomFloorDifference), new Guid("bc273acf-437b-4a7a-afac-604242d80fd5")) {
Name = "ФОП_Перепад ЛП",
UnitType = SharedParam.GetUnitType(nameof(RoomFloorDifference)),
StorageType = StorageType.Double
};
#endif

/// <inheritdoc />
Expand Down
Loading