Represents the Quantity type.
More...
Represents the Quantity type.
◆ Quantity() [1/2]
OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.Quantity |
( |
double |
value | ) |
|
|
inline |
Initializes a new instance of the Quantity class.
- Parameters
-
◆ Quantity() [2/2]
OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.Quantity |
( |
double |
value, |
|
|
Unit |
displayUnit, |
|
|
boolean |
hasDisplayPrecision, |
|
|
int |
displayPrecision |
|
) |
| |
|
inline |
Initializes a new instance of the Quantity class.
- Parameters
-
◆ GetDisplayPrecision()
int OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.GetDisplayPrecision |
( |
| ) |
|
|
inline |
Gets value.
- Returns
- The displayPrecision.
◆ GetDisplayUnit()
Unit OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.GetDisplayUnit |
( |
| ) |
|
|
inline |
Gets value.
- Returns
- The displayUnit.
◆ GetValue()
double OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.GetValue |
( |
| ) |
|
|
inline |
Gets value.
- Returns
- The value.
◆ HasDisplayPrecision()
boolean OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.HasDisplayPrecision |
( |
| ) |
|
|
inline |
Gets value.
- Returns
- The hasDisplayPrecision.
◆ SetValue()
void OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.SetValue |
( |
double |
value | ) |
|
|
inline |
Sets value.
- Parameters
-
value | The value to set into. |
◆ toString()
String OpenTestSystem.Otx.Runtime.Api.DataTypes.Quantity.toString |
( |
| ) |
|
|
inline |
Converts to string.
- Returns
- Returns the string.
The documentation for this class was generated from the following file: