Skip to content

Commit

Permalink
add config id to all types
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheumann committed Jan 7, 2024
1 parent 01d4885 commit d51248f
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 2 deletions.
4 changes: 4 additions & 0 deletions LayoutFunctions/ClassroomLayout/dependencies/SpaceBoundary.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
4 changes: 4 additions & 0 deletions LayoutFunctions/CustomLayout/dependencies/SpaceBoundary.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
3 changes: 3 additions & 0 deletions LayoutFunctions/LoungeLayout/dependencies/SpaceBoundary.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }
[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using Elements.Geometry;
using Newtonsoft.Json;
namespace Elements
{
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public partial class SpaceBoundary : ISpaceBoundary

public int SpaceCount { get; set; } = 1;

[JsonProperty("Config Id")]

Check failure on line 27 in LayoutFunctions/OpenOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 27 in LayoutFunctions/OpenOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 27 in LayoutFunctions/OpenOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 27 in LayoutFunctions/OpenOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
public string ConfigId { get; set; } // unused by this layout type

[Newtonsoft.Json.JsonIgnore]
public LevelElements LevelElements { get; set; }

Expand Down
4 changes: 4 additions & 0 deletions LayoutFunctions/PantryLayout/dependencies/SpaceBoundary.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ namespace Elements
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }

public Vector3? IndividualCentroid { get; set; }

[JsonProperty("Config Id")]

Check failure on line 11 in LayoutFunctions/PrivateOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 11 in LayoutFunctions/PrivateOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 11 in LayoutFunctions/PrivateOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 11 in LayoutFunctions/PrivateOfficeLayout/dependencies/SpaceBoundary.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
public string ConfigId { get; set; }
}
}
4 changes: 4 additions & 0 deletions LayoutFunctions/ReceptionLayout/dependencies/SpaceBoundary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
using System.Linq;
using System.Collections.Generic;
using Elements.Geometry;
using Newtonsoft.Json;

namespace Elements
{
public partial class SpaceBoundary : ISpaceBoundary
{
public Vector3? ParentCentroid { get; set; }
[JsonProperty("Config Id")]
public string ConfigId { get; set; }
}
}

0 comments on commit d51248f

Please sign in to comment.