Class Unit
Inheritance
System.Object
Unit
Assembly: SMT.MastaAPI.15.0.dll
Syntax
public class Unit : APIBase, IEquatable<APIBase>
Properties
HTMLSymbol
Declaration
public string HTMLSymbol { get; }
Property Value
Type |
Description |
System.String |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Offset
Declaration
public double Offset { get; }
Property Value
Type |
Description |
System.Double |
|
Scale
Declaration
public double Scale { get; }
Property Value
Type |
Description |
System.Double |
|
Symbol
Declaration
public string Symbol { get; }
Property Value
Type |
Description |
System.String |
|
Methods
ConvertFromSIUnit(Double)
Declaration
public double ConvertFromSIUnit(double d)
Parameters
Type |
Name |
Description |
System.Double |
d |
|
Returns
Type |
Description |
System.Double |
|
ConvertToSIUnit(Double)
Declaration
public double ConvertToSIUnit(double d)
Parameters
Type |
Name |
Description |
System.Double |
d |
|
Returns
Type |
Description |
System.Double |
|
Implements
System.IEquatable<T>
Extension Methods