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.282-beta+fbfa6baa1521236175f6d73fb2eb151a42453aef
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