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

AF SDK Reference

UOMBaseClass Class

  • Last UpdatedNov 18, 2025
  • 5 minute read
UOMBaseClass Class
An object which contains the base UOMClass and its respective power to an existing UOMClass.

Inheritance Hierarchy

SystemObject
  OSIsoft.AFAFObject
    OSIsoft.AF.UnitsOfMeasureUOMBaseClass

Namespace:  OSIsoft.AF.UnitsOfMeasure
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[SerializableAttribute]
public sealed class UOMBaseClass : AFObject, 
	IComparable<UOMBaseClass>
<SerializableAttribute>
Public NotInheritable Class UOMBaseClass
	Inherits AFObject
	Implements IComparable(Of UOMBaseClass)

Dim instance As UOMBaseClass
[SerializableAttribute]
public ref class UOMBaseClass sealed : public AFObject, 
	IComparable<UOMBaseClass^>
[<SealedAttribute>]
[<SerializableAttribute>]
type UOMBaseClass =  
    class
        inherit AFObject
        interface IComparable<UOMBaseClass>
    end

The UOMBaseClass type exposes the following members.

Properties

  NameDescription
Public property
Class
This read-only property is the base UOMClass which is raised to the power specified by the Power property.
Public property
Database
This read-only property allows access to the UOMDatabase associated with this object.
Public property
ID
Read-only property that provides a unique identifier for the object to be used for quick access that is not dependent upon the index.
(Inherited from AFObject.)
Public property
Identity
This read-only property contains identity of the object.
(Inherited from AFObject.)
Public property
IsDeleted
This read-only property indicates whether the object has been deleted.
(Inherited from AFObject.)
Public property
Name
Read-only property that identifies the name of the object.
Public property
PISystem
This read-only property allows access to the PISystem associated with this object.
(Inherited from AFObject.)
Public property
Power
This read/write property represents the power of the corresponding base Class property.
Public property
UniqueID
Read-only property that provides the object's ID as a String.
(Inherited from AFObject.)

Methods

  NameDescription
Public method
CompareTo(Object)
Compares this instance with a specified Object.
(Inherited from AFObject.)
Public method
CompareTo(AFObject)
Compares this instance with a specified AFObject.
(Inherited from AFObject.)
Public method
Equals(Object)
Determines whether the specified Object is equal to the current object.
(Inherited from AFObject.)
Public method
Equals(AFObject)
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.)
Public method
GetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from AFObject.)
Public method
GetPath
Returns the full path to the object, using just the names.
(Inherited from AFObject.)
Public method
GetPath(AFObject)
Returns the path to the object relative from another object.
(Inherited from AFObject.)
Public method
GetPath(AFEncodeType, AFObject)
Returns the path to the object relative from another object, using the name and/or id as specified by encodeType.
(Inherited from AFObject.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
Persist
This method returns the persistence string for the object.
(Inherited from AFObject.)
Public method
ToString
Returns a String that represents the current object.
(Overrides AFObjectToString.)

Remarks

A UOMBaseClass object is used to define a UOMClass in terms of a base UOMClass. The UOMBaseClass object contains the base UOMClass and its associated power. For example, Density is based on Mass / Volume, resulting in collection of base UOM classes of {Mass=1, Length=-3}.

Version Information

AFSDK


See Also

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