Skip to content

Commit

Permalink
Make oM properties virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
BHoMBot authored and Fraser Greenroyd committed Apr 8, 2020
1 parent d4b8a8b commit 368aee3
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 108 deletions.
2 changes: 1 addition & 1 deletion LifeCycleAssessment_oM/Enum/LevelOfDevelopment.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion LifeCycleAssessment_oM/Enum/LifeCycleAssessmentPhases.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion LifeCycleAssessment_oM/Enum/PrimaryStructuralMaterial.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion LifeCycleAssessment_oM/Enum/ProjectArea.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion LifeCycleAssessment_oM/Enum/ProjectType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2020, the respective contributors. All rights reserved.
*
Expand Down Expand Up @@ -41,4 +41,4 @@ public enum EnvironmentalProductDeclarationField
DepletionOfAbioticResourcesFossilFuelsEndOfLife,
//add more evaluation properties when needed.
}
}
}
52 changes: 26 additions & 26 deletions LifeCycleAssessment_oM/EnvironmentalProductDeclaration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ public class EnvironmentalProductDeclaration : BHoMObject, IEnvironmentalProduct
/***************************************************/
/**** Properties ****/
/***************************************************/
public string Manufacturer { get; set; } = "";
public string Plant { get; set; } = "";
public int PostalCode { get; set; } = 0;
public List<string> IndustryStandards { get; set; } = new List<string>();
public string Id { get; set; } = "";
public string Density { get; set; } = "";
public double BiogenicEmbodiedCarbon { get; set; } = double.NaN;
public string DeclaredUnit { get; set; } = "";
public string Description { get; set; } = "";
public string Scope { get; set; } = "";
public double GlobalWarmingPotential { get; set; } = double.NaN;
public double OzoneDepletionPotential { get; set; } = double.NaN;
public double PhotochemicalOzoneCreationPotential { get; set; } = double.NaN; //needs convert method "smogPotential"
public double AcidificationPotential { get; set; } = double.NaN;
public double EutrophicationPotential { get; set; } = double.NaN;
public double DepletionOfAbioticResourcesFossilFuels { get; set; } = double.NaN; //needs convert method "primaryEnergyDemand"
public double GlobalWarmingPotentialEndOfLife { get; set; } = double.NaN;
public double OzoneDepletionPotentialEndOfLife { get; set; } = double.NaN;
public double PhotochemicalOzoneCreationPotentialEndOfLife { get; set; } = double.NaN; //needs convert method "smogPotentialEol"
public double AcidificationPotentialEndOfLife { get; set; } = double.NaN;
public double EutrophicationPotentialEndOfLife { get; set; } = double.NaN;
public double DepletionOfAbioticResourcesFossilFuelsEndOfLife { get; set; } = double.NaN; //needs convert method "primaryEnergyDemandEol"
public string EndOfLifeTreatment { get; set; } = "";
public string Masterformat { get; set; } = "";
public string PostConsumerRecycledContent { get; set; } = "";
public int ReferenceYear { get; set; } = 0;
public virtual string Manufacturer { get; set; } = "";
public virtual string Plant { get; set; } = "";
public virtual int PostalCode { get; set; } = 0;
public virtual List<string> IndustryStandards { get; set; } = new List<string>();
public virtual string Id { get; set; } = "";
public virtual string Density { get; set; } = "";
public virtual double BiogenicEmbodiedCarbon { get; set; } = double.NaN;
public virtual string DeclaredUnit { get; set; } = "";
public virtual string Description { get; set; } = "";
public virtual string Scope { get; set; } = "";
public virtual double GlobalWarmingPotential { get; set; } = double.NaN;
public virtual double OzoneDepletionPotential { get; set; } = double.NaN;
public virtual double PhotochemicalOzoneCreationPotential { get; set; } = double.NaN;
public virtual double AcidificationPotential { get; set; } = double.NaN;
public virtual double EutrophicationPotential { get; set; } = double.NaN;
public virtual double DepletionOfAbioticResourcesFossilFuels { get; set; } = double.NaN;
public virtual double GlobalWarmingPotentialEndOfLife { get; set; } = double.NaN;
public virtual double OzoneDepletionPotentialEndOfLife { get; set; } = double.NaN;
public virtual double PhotochemicalOzoneCreationPotentialEndOfLife { get; set; } = double.NaN;
public virtual double AcidificationPotentialEndOfLife { get; set; } = double.NaN;
public virtual double EutrophicationPotentialEndOfLife { get; set; } = double.NaN;
public virtual double DepletionOfAbioticResourcesFossilFuelsEndOfLife { get; set; } = double.NaN;
public virtual string EndOfLifeTreatment { get; set; } = "";
public virtual string Masterformat { get; set; } = "";
public virtual string PostConsumerRecycledContent { get; set; } = "";
public virtual int ReferenceYear { get; set; } = 0;
/***************************************************/
}
}
44 changes: 22 additions & 22 deletions LifeCycleAssessment_oM/HealthProductDeclaration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ public class HealthProductDeclaration : BHoMObject
/***************************************************/
//public string Cpid { get; set; } = "";
//public string Version { get; set; } = "";
public string MasterFormat { get; set; } = "";
public string Uniformats { get; set; } = "";
public double CancerOrange { get; set; } = double.NaN;
public double DevelopmentalOrange { get; set; } = double.NaN;
public double EndocrineOrange { get; set; } = double.NaN;
public double EyeIrritationOrange { get; set; } = double.NaN;
public double MammalianOrange { get; set; } = double.NaN;
public double MutagenicityOrange { get; set; } = double.NaN;
public double NeurotoxicityOrange { get; set; } = double.NaN;
public double OrganToxicantOrange { get; set; } = double.NaN;
public double ReproductiveOrange { get; set; } = double.NaN;
public double RespiratoryOrange { get; set; } = double.NaN;
public double RespiratoryOccupationalOnlyOrange { get; set; } = double.NaN;
public double SkinSensitizationOrange { get; set; } = double.NaN;
public double CancerRed { get; set; } = double.NaN;
public double CancerOccupationalOnlyRed { get; set; } = double.NaN;
public double DevelopmentalRed { get; set; } = double.NaN;
public double MutagenicityRed { get; set; } = double.NaN;
public double PersistantBioaccumulativeToxicantRed { get; set; } = double.NaN;
public double ReproductiveRed { get; set; } = double.NaN;
public double RespiratoryRed { get; set; } = double.NaN;
public double PersistantBioaccumulativeToxicantPurple { get; set; } = double.NaN;
public virtual string MasterFormat { get; set; } = "";
public virtual string Uniformats { get; set; } = "";
public virtual double CancerOrange { get; set; } = double.NaN;
public virtual double DevelopmentalOrange { get; set; } = double.NaN;
public virtual double EndocrineOrange { get; set; } = double.NaN;
public virtual double EyeIrritationOrange { get; set; } = double.NaN;
public virtual double MammalianOrange { get; set; } = double.NaN;
public virtual double MutagenicityOrange { get; set; } = double.NaN;
public virtual double NeurotoxicityOrange { get; set; } = double.NaN;
public virtual double OrganToxicantOrange { get; set; } = double.NaN;
public virtual double ReproductiveOrange { get; set; } = double.NaN;
public virtual double RespiratoryOrange { get; set; } = double.NaN;
public virtual double RespiratoryOccupationalOnlyOrange { get; set; } = double.NaN;
public virtual double SkinSensitizationOrange { get; set; } = double.NaN;
public virtual double CancerRed { get; set; } = double.NaN;
public virtual double CancerOccupationalOnlyRed { get; set; } = double.NaN;
public virtual double DevelopmentalRed { get; set; } = double.NaN;
public virtual double MutagenicityRed { get; set; } = double.NaN;
public virtual double PersistantBioaccumulativeToxicantRed { get; set; } = double.NaN;
public virtual double ReproductiveRed { get; set; } = double.NaN;
public virtual double RespiratoryRed { get; set; } = double.NaN;
public virtual double PersistantBioaccumulativeToxicantPurple { get; set; } = double.NaN;
/***************************************************/
}
}
64 changes: 32 additions & 32 deletions LifeCycleAssessment_oM/LifeCycleAssessmentScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,69 +35,69 @@ public class LifeCycleAssessmentScope : BHoMObject
[Description ("The Project Name denotes the name of the project (eg Mercedes-Benz Stadium)")]
public string ProjectName { get; set; } = "";
[Description("The Contact Name denotes the person/people who performed the LCA study")]
public string ContactName { get; set; } = "";
public virtual string ContactName { get; set; } = "";
[Description("The Actual Project Area denotes the more precise project area (m2) which will allow assessment of kgCO2eq/m2 metrics")]
public double ActualProjectArea { get; set; } = double.NaN;
public virtual double ActualProjectArea { get; set; } = double.NaN;
[Description("Biogenic Carbon is a true/false that indicates that the project contains materials that originated from a biological source (trees, soil), these materials have the ability sequester/store carbon.")]
public bool BiogenicCarbon { get; set; } = false;
public virtual bool BiogenicCarbon { get; set; } = false;
[Description("Zip Code is the means of tracking the project's location")]
public int ZipCode { get; set; } = 00000;
public virtual int ZipCode { get; set; } = 00000;
[Description("Additional notes should convey project design constraints (eg design for seismic activity) that could affect the overall embodied carbon")]
public string AdditionalNotes { get; set; } = "";
public virtual string AdditionalNotes { get; set; } = "";
[Description("Structural slabs are inclusive of the above-grade structural floors in a building")]
public BHoMObject StructuresSlabs { get; set; } = null;
public virtual BHoMObject StructuresSlabs { get; set; } = null;
[Description("Structural core walls are inclusive of the above-grade, structural-grade walls surrounding the core (elevators, building services)")]
public BHoMObject StructuresCoreWalls { get; set; } = null;
public virtual BHoMObject StructuresCoreWalls { get; set; } = null;
[Description("Structural beams are typically horizontal elements that carry the load of floors, roofs, and ceilings")]
public BHoMObject StructuresBeams { get; set; } = null;
public virtual BHoMObject StructuresBeams { get; set; } = null;
[Description("Structural columns are typically vertical elements that carry the load of floors, roofs, and ceilings")]
public BHoMObject StructuresColumns { get; set; } = null;
public virtual BHoMObject StructuresColumns { get; set; } = null;
[Description("Enclosure walls are inclusive of the opaque exterior wall assemblies of a building")]
public BHoMObject EnclosuresWalls { get; set; } = null;
public virtual BHoMObject EnclosuresWalls { get; set; } = null;
[Description("Enclosure curtain walls are large sheets of transparent glazing on the building exterior")]
public BHoMObject EnclosuresCurtainWalls { get; set; } = null;
public virtual BHoMObject EnclosuresCurtainWalls { get; set; } = null;
[Description("Enclosure windows are are openings in the building exterior, which consist of framing and glazing")]
public BHoMObject EnclosuresWindows { get; set; } = null;
public virtual BHoMObject EnclosuresWindows { get; set; } = null;
[Description("Enclosure doors are are openings in the building exterior, which consist of framing and panels")]
public BHoMObject EnclosuresDoors { get; set; } = null;
public virtual BHoMObject EnclosuresDoors { get; set; } = null;
[Description("Foundation footings (or pile caps) are mats below the buildings piles that help to distribute the load from the structure above")]
public BHoMObject FoundationsFootings { get; set; } = null;
public virtual BHoMObject FoundationsFootings { get; set; } = null;
[Description("Foundation piles are structural supports that are driven into the ground below a building to support the building structure")]
public BHoMObject FoundationsPiles { get; set; } = null;
public virtual BHoMObject FoundationsPiles { get; set; } = null;
[Description("Foundation walls are structural walls built below-grade")]
public BHoMObject FoundationsWalls { get; set; } = null;
public virtual BHoMObject FoundationsWalls { get; set; } = null;
[Description("Foundation slabs are structural slabs upon which the building is constructed. This category expects any type of slab, but assumes no construction properties.")]
public BHoMObject FoundationsSlabs { get; set; } = null;
public virtual BHoMObject FoundationsSlabs { get; set; } = null;
[Description("MEP Equipment is a machine that processes mechanical, electrical or plumbing loads (eg Fan, Electrical Panel, Pump")]
public BHoMObject MEPEquipment { get; set; } = null;
public virtual BHoMObject MEPEquipment { get; set; } = null;
[Description("MEP Ductwork is a material (eg sheet metal) that helps to convey airflow from heating, ventilation or cooling systems")]
public BHoMObject MEPDuctwork { get; set; } = null;
public virtual BHoMObject MEPDuctwork { get; set; } = null;
[Description("MEP Generators are devices that convert mechanical energy to electrical power")]
public BHoMObject MEPGenerators { get; set; } = null;
public virtual BHoMObject MEPGenerators { get; set; } = null;
[Description("MEP Conduit is a tube used to route electrical wiring")]
public BHoMObject MEPConduit { get; set; } = null;
public virtual BHoMObject MEPConduit { get; set; } = null;
[Description("MEP Wiring is a flexible conductor of electricity")]
public BHoMObject MEPWiring { get; set; } = null;
public virtual BHoMObject MEPWiring { get; set; } = null;
[Description("MEP Lighting is inclusive of all light fixtures")]
public BHoMObject MEPLighting { get; set; } = null;
public virtual BHoMObject MEPLighting { get; set; } = null;
[Description("MEP Piping is a material (eg copper) that helps to convey fluids (eg water, waste) within a building")]
public BHoMObject MEPPiping { get; set; } = null;
public virtual BHoMObject MEPPiping { get; set; } = null;
[Description("MEP Batties are energy storage devices (eg photovoltaic panels)")]
public BHoMObject MEPBatteries { get; set; } = null;
public virtual BHoMObject MEPBatteries { get; set; } = null;
[Description("Tenant Improvement Ceiling is a material that creates an additional upper interior surface in a room")]
public BHoMObject TenantImprovementsCeiling { get; set; } = null;
public virtual BHoMObject TenantImprovementsCeiling { get; set; } = null;
[Description("Tenant Improvements Flooring is inclusive of the flooring materials placed on top of the structural floor (eg carpet, tile)")]
public BHoMObject TenantImprovementsFlooring { get; set; } = null;
public virtual BHoMObject TenantImprovementsFlooring { get; set; } = null;
[Description("Tenant Improvements Finishes is inclusive of finishes (eg paint)")]
public BHoMObject TenantImprovementsFinishes { get; set; } = null;
public virtual BHoMObject TenantImprovementsFinishes { get; set; } = null;
[Description("Tenant Improvements Interior Glazing is inclusive of windows in the interior of the building")]
public BHoMObject TenantImprovementsInteriorGlazing { get; set; } = null;
public virtual BHoMObject TenantImprovementsInteriorGlazing { get; set; } = null;
[Description("Tenant Improvements Furniture includes furnishings (eg tables, chairs, desks)")]
public BHoMObject TenantImprovementsFurniture { get; set; } = null;
public virtual BHoMObject TenantImprovementsFurniture { get; set; } = null;
[Description("Tenant Improvements Interior Doors includes doors in the interior of the building")]
public BHoMObject TenantImprovementsInteriorDoors { get; set; } = null;
public virtual BHoMObject TenantImprovementsInteriorDoors { get; set; } = null;
[Description("Tenant Improvements Partition Walls includes walls in the interior of the building")]
public BHoMObject TenantImprovementsPartitionWalls { get; set; } = null;
public virtual BHoMObject TenantImprovementsPartitionWalls { get; set; } = null;

/***************************************************/
}
Expand Down
Loading

0 comments on commit 368aee3

Please sign in to comment.