Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.UnitLib.Unit Class Reference

Stores information about a unit. More...

Inheritance diagram for Greet.UnitLib.Unit:
Greet.UnitLib.IUnit

Public Member Functions

 Unit (XmlNode node)
 
 Unit (string unitName, string unitAbbrev, double a, double b, string baseGroupName)
 
override string ToString ()
 

Properties

string Abbrev [get, set]
 
string AboveUnit [get, set]
 
string BaseGroupName [get, set]
 
string BelowUnit [get, set]
 
bool CustomUnit [get, set]
 
string DisplayName [get, set]
 
string FromDefaultStr [get, set]
 
string Name [get, set]
 
string notes [get, set]
 
int prefixes [get, set]
 
double Si_intercept [get, set]
 
double Si_slope [get, set]
 
string ToDefaultStr [get, set]
 
- Properties inherited from Greet.UnitLib.IUnit
string Abbrev [get, set]
 The abbreviation is used at the tail of numeric values that are displayed in the GUI More...
 
string DisplayName [get]
 The display name for this unit can be more descriptive and is what is displayed in the unit configuration More...
 
string FromDefaultStr [get]
 The formula that is used to convert from the default unit of the group in which this unit is member of to this unit Example: If this unit is degrees farenheit, how to convert degrees kelvin to farenheit More...
 
string Name [get]
 Defines the name for this unit, this name must be unique across units in the system, it's used as a Key in the units collections More...
 
string ToDefaultStr [get]
 The formula that is used to convert this unit to the default unit of the group in which this unit is member of Example: If this unit is degrees farenheit, how to convert to degrees kelvin More...
 

Detailed Description

Stores information about a unit.

Constructor & Destructor Documentation

Greet.UnitLib.Unit.Unit ( string  unitName,
string  unitAbbrev,
double  a,
double  b,
string  baseGroupName 
)

Parameters
unitName
unitAbbrev
ato si conversion equation slope
bto si conversion equation intercept
baseGroupNameName of the group this unit belongs to

The documentation for this class was generated from the following file: