AFDataReference.UOM Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property represents the source unit of measure (UOM) for the values
represented by the DataReference.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual UOM UOM { get; set; }
Public Overridable Property UOM As UOM Get Set Dim instance As AFDataReference Dim value As UOM value = instance.UOM instance.UOM = value
public: virtual property UOM^ UOM { UOM^ get (); void set (UOM^ value); }
abstract UOM : UOM with get, set override UOM : UOM with get, set
Property Value
Type: UOMThe source unit of measure that the referenced values are assumed to be in.
Remarks
If the data reference is a general purpose data reference (such as for PI Point), this
property should be configurable and should be maintained in the ConfigString.
If the data reference is formula based, then the data reference could return a constant
value. If a UOM does not apply, or the user wishes to use the default UOM, then
may be returned.