UOMOrigin Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This enumeration defines the origin of how a UOM is defined.
Namespace: OSIsoft.AF.UnitsOfMeasure
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum UOMOrigin
Public Enumeration UOMOrigin Dim instance As UOMOrigin
public enum class UOMOrigin
type UOMOrigin
Members
| Member name | Value | Description | |
|---|---|---|---|
| Unknown | 0 | The origin of how the UOM was defined is unknown. | |
| SystemDefined | 1 | The UOM is system defined and has not been modified. | |
| SystemModified | 2 | The UOM was system defined but the Name and/or Description have been modified. | |
| SystemReplaced | 3 | The UOM has the original system-defined Abbreviation and canonical UOM but fields other than Name and Description have been modified. | |
| UserDefined | 4 | The UOM was created by a user. |
Remarks
The UOMDatabase contains system-defined UOMs that are natively supplied in
an AF installation, as well as additional user added UOMs.
The Origin will indicate the origin of
the UOM and if it has been modified from a system-defined UOM.