C# Class ExamplesLibrary.ReadFromAFExample

Retrieving values from AF Attributes is best done in bulk, in particular, if any of the data is coming from the PI Data Archive. By bulk retrieving the data, the number of round-trips to the PI Data Archive are reduced. This example uses the AFAttributeList to illustrate how to retrieve attribute values in bulk. We will retrieve the current vaues for the Process Feedrate and Steam Flow attributes for all Compressor template elements and print to console. This example is very similar to the PartialLoadElementsExample.
Inheritance: IExample
Afficher le fichier Open project: osisoft/PI-AF-SDK-Basic-Samples

Méthodes publiques

Méthode Description
Run ( ) : void

Method Details

Run() public méthode

public Run ( ) : void
Résultat void