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

AF SDK Reference

AFDataReference.UOM Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.UOM Property
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: UOM
The 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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in