EnergyUnit Enumeration

Represents the units available for an Energy value.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public enum EnergyUnit

Members

Joules0 Joule energy units, i.e., watt-seconds.
WattHours1 WattHour energy units.
BTU2 BTU energy units.
CelsiusHeatUnits3 Celsius heat energy units.
LitersAtmosphere4 Liters atmosphere energy units.
Calories5 Calorie energy units.
HorsepowerHours6 Horsepower-hour energy units.
BarrelsOfOil7 Barrels of oil energy units.
TonsOfCoal8 Tons of coal energy units.

Extension Methods

GetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
GetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display. Enum string name is converted to a label with spaces before each capital letter, other than the first.
(Defined by EnumExtensions)

See Also