AFAttribute.SourceUOM Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property specifies the source unit of measure (UOM) for the attribute's value.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public UOM SourceUOM { get; }
Public ReadOnly Property SourceUOM As UOM Get Dim instance As AFAttribute Dim value As UOM value = instance.SourceUOM
public: property UOM^ SourceUOM { UOM^ get (); }
member SourceUOM : UOM with get
Property Value
Type: UOMThe source UOM for the attribute's value.
Remarks
The source UOM is defined by the DataReference as the units of the actual source of the value being read (see AFDataReference.UOM. If the DataReference is not defined or does not specify a UOM, then the DefaultUOM is returned.
The source UOM can be used with the GetValue Overload methods to get the values in the source units instead of the default units.