.NET Customisation
User Guide
.NET Customisation
:
Database Interface
:
Units
: DbDoubleUnits
DbDoubleUnits
Represents a standard or compound unit constructed via static constructors. For example, construct a compound unit from an expression
DbDoubleUnits
u1 =
DbDoubleUnits
.GetUnits("
kg.m.s-2
");
or construct a standard unit from a standard enumeration
DbDoubleUnits
u1 =
DbDoubleUnits
.GetUnits(
DbUnits
.MM);
There is a static method to get all the defined standard and compound units
DbDoubleUnits
[] units =
DbDoubleUnits
.AllUnits();
and properties to get the description, dimension, conversion factor etc. For example, get the dimension of given units
DbDimension
d1 =
DbDoubleUnits
.GetUnits(
DbUnit
s.MM).Dimension;
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.