UnitInfo Constructor
Default constructor of the
UnitInfo class.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public UnitInfo(
string name,
Term[] factor,
Term[] offset,
Term[] connection,
string description,
string dimensionDescription,
int dimensionId,
bool isBaseUnit,
string system,
string[] properties,
string synonymFor
)
Public Sub New (
name As String,
factor As Term(),
offset As Term(),
connection As Term(),
description As String,
dimensionDescription As String,
dimensionId As Integer,
isBaseUnit As Boolean,
system As String,
properties As String(),
synonymFor As String
)
public:
UnitInfo(
String^ name,
array<Term^>^ factor,
array<Term^>^ offset,
array<Term^>^ connection,
String^ description,
String^ dimensionDescription,
int dimensionId,
bool isBaseUnit,
String^ system,
array<String^>^ properties,
String^ synonymFor
)
new :
name : string *
factor : Term[] *
offset : Term[] *
connection : Term[] *
description : string *
dimensionDescription : string *
dimensionId : int *
isBaseUnit : bool *
system : string *
properties : string[] *
synonymFor : string -> UnitInfo
Parameters
- name String
Text representation of the measurement unit.
- factor Term[]
Factor equation of the measurement unit.
- offset Term[]
Offset equation of the measurement unit.
- connection Term[]
- Connection equation to the base unit of measurement of the current dimention.
- description String
Description of the measurement unit.
- dimensionDescription String
Dimension description of the measurement unit.
- dimensionId Int32
Dimension ID of the measurement unit.
- isBaseUnit Boolean
Determines if current measurement unit is a base unit for its dimention.
- system String
System of the measurement unit.
- properties String[]
List of the properties for the measurement unit.
- synonymFor String
Synonym for the measurement unit.