Click or drag to resize

EnergyUnit Enumeration

Represents the units available for an Energy value.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.300-beta+b2186e2cd1f968c931b0e151fdd7c839f3d1e9cf
Syntax
public enum EnergyUnit
Members
Member nameValueDescription
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.

The EnergyUnit type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodGetDescription 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)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
See Also