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

AF SDK Reference

AFSummaryRequest Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFSummaryRequest Class
Defines a set of summaries to perform on a set of objects.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.Data.AggregateAFAggregateRequest
    OSIsoft.AF.Data.AggregateAFSummaryRequest

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

Syntax

public sealed class AFSummaryRequest : AFAggregateRequest
Public NotInheritable Class AFSummaryRequest
	Inherits AFAggregateRequest

Dim instance As AFSummaryRequest
public ref class AFSummaryRequest sealed : public AFAggregateRequest
[<SealedAttribute>]
type AFSummaryRequest =  
    class
        inherit AFAggregateRequest
    end

The AFSummaryRequest type exposes the following members.

Constructors

  NameDescription
Public method
AFSummaryRequest(String, AFSummaryTypes)
Computes desired summaries on the specified field.
Public method
AFSummaryRequest(String, AFSummaryTypes, String)
Computes desired summaries on the specified field and weighted by the specified field.

Properties

  NameDescription
Public property
Description
A description of the summary.
(Overrides AFAggregateRequestDescription.)
Public property
Field
The field that will be aggregated
(Inherited from AFAggregateRequest.)
Public property
SubAggregate
If this aggregate will be further aggregated, the sub-aggregate is defined here.
(Inherited from AFAggregateRequest.)
Public property
SummaryTypes
The requested summary types.
Public property
WeightField
The field used in weighting each item. If null, no weighting will be applied.

Methods

  NameDescription
Public method
BinByTBin(String, IEnumerableTBin)
Creates a binning with this summary partitioned into bins of the specified field.
Public method
BinByTBin(String, IEnumerableTBin, UOM)
Creates a binning with this summary partitioned into bins of the specified field.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
GroupBy(String)
Creates a grouping with this summary grouped by values of the specified field.
Public method
GroupByTGroup(String)
Creates a grouping with this summary grouped by values of the specified field.
Public method
GroupByTGroup(String, Int32)
Creates a grouping with this summary grouped by values of the specified field.
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

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