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

AF SDK Reference

AFBinningRequest(TBin) Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFBinningRequest(TBin) Class
Defines a histogram to build from a set of objects.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.Data.AggregateAFAggregateRequest
    OSIsoft.AF.Data.AggregateAFBinningRequestTBin

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

Syntax

public sealed class AFBinningRequest<TBin> : AFAggregateRequest
where TBin : Object, IComparable<TBin>
Public NotInheritable Class AFBinningRequest(Of TBin As {Object, IComparable(Of TBin)})
	Inherits AFAggregateRequest

Dim instance As AFBinningRequest(Of TBin)
generic<typename TBin>
where TBin : Object, IComparable<TBin>
public ref class AFBinningRequest sealed : public AFAggregateRequest
[<SealedAttribute>]
type AFBinningRequest<'TBin when 'TBin : Object and IComparable<'TBin>> =  
    class
        inherit AFAggregateRequest
    end

Type Parameters

TBin
The type of bin that the object field will be sorted in.

The AFBinningRequestTBin type exposes the following members.

Constructors

Properties

  NameDescription
Public property
Bins
The bins use for the histogram.
Public property
BinUOM
The unit of measure of the bins.
Public property
Description
A description of this aggregate.
(Overrides AFAggregateRequestDescription.)
Public property
Field
The field that will be aggregated
(Inherited from AFAggregateRequest.)
Public property
SubAggregate
The summary that will be performed on the binned data.
(Overrides AFAggregateRequestSubAggregate.)
Public property
SummaryRequest
The summary that will be performed on each bin or if only a count is desired.

Methods

  NameDescription
Public method
BinByTPrimaryBin(String, IEnumerableTPrimaryBin)
Creates a compound grouping with this aggregate partitioned into bins of the specified field.
Public method
BinByTPrimaryBin(String, IEnumerableTPrimaryBin, UOM)
Creates a compound grouping with this aggregate 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 compound grouping with this aggregate grouped by values of the specified field.
Public method
GroupByTGroup(String)
Creates a compound grouping with this aggregate grouped by values of the specified field.
Public method
GroupByTGroup(String, Int32)
Creates a compound grouping with this aggregate 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