UnitInfo Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) |
||
Line 6: | Line 6: | ||
== Properties == | == Properties == | ||
*ID (as ''integer'') {{APIComment|The ID of the | *ID (as ''integer'') {{APIComment|The numerical ID of the unit.}} | ||
*Name (as ''string'') {{APIComment|The | *Name (as ''string'') {{APIComment| The name of the unit.}} | ||
*Abbreviation (as ''string'') {{APIComment|The | *Abbreviation (as ''string'') {{APIComment| The abbreviation of the unit.}} | ||
*Multiplier (''as double'') {{APIComment|The | *Multiplier (''as double'') {{APIComment|The multiplier of the unit.}} |
Revision as of 23:53, 27 February 2014
Used with Repository.GetAllUnits to describe a unit of measurement that has been defined in the current repository. In Synthesis desktop applications, these units are shown in the Manage Units window.
Constructors
- UnitInfo( Integer, String, String, Double ) Creates a new UnitInfo object to store the properties of a defined unit of measurement. This is automatically called by Repository.GetAllUnits.
Properties
- ID (as integer) The numerical ID of the unit.
- Name (as string) The name of the unit.
- Abbreviation (as string) The abbreviation of the unit.
- Multiplier (as double) The multiplier of the unit.