UnitInfo Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:APIClass|UnitInfo Class|UnitInfo}}  
{{Template:API}}{{Template:APIBreadcrumb}}
This class describes a Unit of measurement in the Synthesis environment.


== Constructors ==
 
*'''[[New UnitInfo]]''' {{APIComment|Creates a new class that can be used describes a Unit of measurement.}}<br>
<onlyinclude>Represents the unit of measurement used by an associated [[Repository_Class|Repository]] object.</onlyinclude>


== Properties  ==
== Properties  ==
*'''[[UnitInfo.ID|ID]]''' {{APIComment|The ID of the Unit.}}
{| {{APITable}}
*'''[[UnitInfo.Name|Name]]''' {{APIComment|The Name of the Unit.}}
|-
*'''[[UnitInfo.Abbreviation|Abbreviation]]''' {{APIComment|The Abbreviation of the Unit.}}
| style="width: 130px;"|Abbreviation||Gets or sets the abbreviation of the unit. '''String'''.
*'''[[UnitInfo.Multiplier|Multiplier]]''' {{APIComment|The Multiplier of the Unit.}}
|-
|ID||Gets or sets the numeric ID of the unit. '''Integer'''.
|-
|Multiplier||Gets or sets the conversion factor, which is defined in relation to a repository's System Base Unit (SBU). '''Double'''.
|-
|Name||Gets or sets the name of the unit. '''String'''.
|}
 
 
 
 
 
==See Also==
*[[Repository.Unit.GetAllUnits|Repository.Unit.GetAllUnits Method]]

Latest revision as of 15:04, 8 April 2016

APIWiki.png


Member of: SynthesisAPI


Represents the unit of measurement used by an associated Repository object.

Properties

Name Description
Abbreviation Gets or sets the abbreviation of the unit. String.
ID Gets or sets the numeric ID of the unit. Integer.
Multiplier Gets or sets the conversion factor, which is defined in relation to a repository's System Base Unit (SBU). Double.
Name Gets or sets the name of the unit. String.



See Also