Stores information about a unit.
More...
|
| Unit (XmlNode node) |
|
| Unit (string unitName, string unitAbbrev, double a, double b, string baseGroupName) |
|
override string | ToString () |
|
|
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] |
|
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...
|
|
Stores information about a unit.
Greet.UnitLib.Unit.Unit |
( |
string |
unitName, |
|
|
string |
unitAbbrev, |
|
|
double |
a, |
|
|
double |
b, |
|
|
string |
baseGroupName |
|
) |
| |
- Parameters
-
unitName | |
unitAbbrev | |
a | to si conversion equation slope |
b | to si conversion equation intercept |
baseGroupName | Name of the group this unit belongs to |
The documentation for this class was generated from the following file:
- C:/Users/ddieffenthaler/Desktop/SVN/source/greet-dev/main/Lib/UnitLib/Unit.cs