BH.oM.Physical.Materials.TakeoffItem¶
Class storing takeoff values of relevant quantities corresponding to a particular material.
Class structure¶
Implemented interfaces and base types¶
The TakeoffItem is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
Name | Type | Description | Quantity |
---|---|---|---|
Material | Material | Material to which the takeoff values correspond. | - |
Volume | double | Total volume of the material. Applicable for most takeoffs. | Volume [m³] |
Mass | double | Total mass of the material. Applicable for materials with a set density. | Mass [kg] |
Area | double | Total area of the material. Applicable for takeoffs of 2-dimensional elements or 2-dimensional parts. | Area [m²] |
Length | double | Total length of the material. Applicable for takeoffs of 1-dimensional elements or elements with 1-dimensional parts. | Length [m] |
NumberItem | int | Total number of items containing the material in the takeoff. Applicable for most takeoffs. | - |
ElectricCurrent | double | Total Electric current associated with the material. Applicable for takeoffs of some electrical equipment elements. | ElectricCurrent [A] |
Energy | double | Total Electric current associated with the material. Applicable for takeoffs of some electrical equipment elements. | Energy [J] |
Power | double | Total Power or apparent power associated with the material. Applicable for takeoffs of some electrical equipment elements. | EnergyPerUnitTime [W] |
VolumetricFlowRate | double | Total VolumetricFlowRate associated with the material. Applicable for takeoffs of elements relating to flow of substance through the element. | VolumetricFlowRate [m³/s] |
Code and Schema¶
C# implementation¶
Assembly: Physical_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Physical_oM/Materials/TakeoffItem.json"
}
The JSON Schema is available on github here: