Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

DbDoubleUnits

  • Last UpdatedJun 02, 2022
  • 1 minute read

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(DbUnits.MM).Dimension;

Related Links
TitleResults for “How to create a CRG?”Also Available in