Click or drag to resize
OSIsoft, LLC

OSIsoft.AF.Asset Namespace

The OSIsoft.AF.Asset namespace provides a set of classes for representing the assets within an organization. It allows the creation of a hierarchies of assets and their attributes. Additionally, it provides features for dealing with common requirements such as remote data access, unit-of-measure conversion, and defining and enforcement of asset definition.

Each PISystem is composed of any number of isolated databases.

Classes
  ClassDescription
Public classCode exampleAFAttribute
The AFAttribute represents a single value that is used to represent a specific piece of information that is part of an AFBaseElement. An AFAttribute may also include child attributes.
Public classCode exampleAFAttributeList
A collection of AFAttribute objects. This collection can be a user created collection of attributes which belong to different objects.
Public classCode exampleAFAttributes
A collection of AFAttribute objects. This may be the collection of attributes maintained by an AFBaseElement or by another AFAttribute.
Public classCode exampleAFAttributeTemplate
The AFAttributeTemplate provides the definition used to create an AFAttribute.
Public classCode exampleAFAttributeTemplates
A collection of AFAttributeTemplate objects. This may be the collection of attribute templates maintained by an AFElementTemplate or by another AFAttributeTemplate.
Public classAFAttributeTrait
A trait can be used to define and/or find related AFAttribute objects with well-known behaviors and relationships.
Public classAFBaseElement
The AFBaseElement is a logical grouping of attributes associated with an element, model, transfer, or similar objects.
Public classAFBaseElements
The collection of AFBaseElement objects.
Public classCode exampleAFDataReference
The AFDataReference is used by an AFAttribute and AFAttributeTemplate to define the information necessary and implement the mechanism used to read, calculate, and write a value (or series of values), given the specified context.
Public classAFDataReferenceUsesInternalAFValueAttribute
Attribute used on an AFDataReference to indicate that it uses the SetInternalAFValue method for storing values.
Public classCode exampleAFElement
The AFElement is a logical grouping of attributes and child elements.
Public classCode exampleAFElements
The collection of AFElement objects.
Public classCode exampleAFElementTemplate
The AFElementTemplate represents a template of information used to create an AFBaseElement. Several types of objects are elements, including an AFElement, AFEventFrame, or AFModel.
Public classCode exampleAFElementTemplates
The collection of AFElementTemplate objects.
Public classCode exampleAFEnumerationSet
The AFEnumerationSet represents a user-defined set of named constant values. It is also used to represent a PI Digital State Set.
Public classCode exampleAFEnumerationSets
The collection of AFEnumerationSet objects is maintained by the AFDatabase.
Public classCode exampleAFEnumerationValue
The AFEnumerationValue represents a specific condition of an enumerated set It is similar to a PI Digital State.
Public classCode exampleAFEnumerationValues
The AFEnumerationValues is a collection of enumeration values.
Public classCode exampleAFFile
AFFile is used to represent a file object.
Public classCode exampleAFReferenceType
An AFReferenceType specifies a relationship type to use when making a hierarchical relationship between two elements.
Public classCode exampleAFReferenceTypes
The collection of AFReferenceType objects.
Public classCode exampleAFTable
The table object allows access to traditional relational database data through ADO.NET Data Tables.
Public classCode exampleAFTableConnection
The table object allows access to traditional relational database data through ADO.NET Table Connections.
Public classCode exampleAFTableConnections
The AFTableConnection collection allows you to define and/or access connection information for database tables.
Public classCode exampleAFTables
The AFTable collection allows you to define and/or access information in database tables.
Public classCode exampleAFValue
The AFValue object is used to represent the value of an AFAttribute along with a timestamp, status, and unit of measure.
Public classCode exampleAFValues
This collection holds the values returned from a call to one of the AFAttribute.GetValues Overload, AFAttributes.GetValue Overload, or AFAttributeList.GetValue Overload methods.
Public classCode exampleAFVersion
The AFVersion object returns information about a specific version of an ASDK object.
Structures
  StructureDescription
Public structureAFAttributeValueQuery
Attribute value search query structure.
Public structureAFAttributeValueQueryID
Attribute value search by ID query structure.
Interfaces
  InterfaceDescription
Public interfaceIAFAttribute
Common interface for properties and methods of AFAttributeTemplate and AFAttribute.
Public interfaceIAFVersionable
This interface defines the properties and methods for objects which support being versioned.
Delegates
Enumerations
  EnumerationDescription
Public enumerationAFDataReferenceContext
The AFDataReferenceContext is an enumeration of the possible contexts supported for by data reference. It is returned by the AFDataReference.SupportedContexts property.
Public enumerationAFDataReferenceMethod
The AFDataReferenceMethod is an enumeration of the possible methods which a data reference supports. It is returned by the AFDataReference.SupportedMethods property.
Public enumerationAFElementType
This is an enumeration that defines the possible values used when you specify the type of an element.
Public enumerationAFHealthStatus
This enumeration defines the values for the Health StatusAFEnumerationSet.
Public enumerationAFQueryMode
The query mode is an enumeration of the possible values for specifying the query criteria.
Public enumerationAFReferenceStrength
This is an enumeration that defines the possible values used when specifying the strength of an AFReferenceType.
Public enumerationAFSearchMode
The search mode is an enumeration of the possible values for specifying the search criteria.
Public enumerationAFSystemStateCode
This enumeration defines the values for the standard system enumeration set derived from the system digital code values in the PI Data Archive.
Public enumerationAFValueStatus
This is an enumeration that defines the possible AFValue indicators when you retrieve the value of an AFAttribute.
Enabling Operational Intelligence