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

AF SDK Reference

OSIsoft.AF.UnitsOfMeasure Namespace

  • Last UpdatedNov 18, 2025
  • 3 minute read
OSIsoft.AF.UnitsOfMeasure Namespace

The OSIsoft.AF.UnitsOfMeasure namespace provides a set of classes for defining a units-of-measure system. This UOM system can be utilized to describe an attribute or value's unit of measure and to perform conversions from one unit to another unit.

There is a single units-of-measure database on a PISystem that is shared across all databases.

Classes

  ClassDescription
Public classCode example
UOM
The unit-of-measure object describes the units of a value.
Public class
UOMBaseClass
An object which contains the base UOMClass and its respective power to an existing UOMClass.
Public class
UOMBaseClasses
A collection of base unit-of-measure classes (UOMBaseClass).
Public classCode example
UOMClass
The unit-of-measure class (UOMClass) represents a group of units of measure and describes the fundamental dimensions of their measurements.
Public classCode example
UOMClasses
The collection of UOMClass objects.
Public classCode example
UOMDatabase
The UOMDatabase is the top-level object in the OSIsoft.AF.UnitsOfMeasure namespace which provides a set of classes for describing a value's unit of measure and for converting from one unit to another unit.
Public classCode example
UOMGroup
The UOMGroup represents a group of UOM mappings.
Public classCode example
UOMGroups
The collection of UOMGroup objects.
Public classCode example
UOMs
A collection of unit-of-measure objects (UOM).

Enumerations

  EnumerationDescription
Public enumeration
UOMOrigin
This enumeration defines the origin of how a UOM is defined.
TitleResults for “How to create a CRG?”Also Available in