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

AF SDK Reference

AFData Methods

  • Last UpdatedNov 18, 2025
  • 6 minute read
AFData Methods

The AFData type exposes the following members.

Methods

  NameDescription
Public method
CreateWithInputDataProvider
Creates a new AFData instance that will evaluate this attribute with input data obtained by the specified input data provider.
Public method
EndOfStream
Returns the end-of-stream AFValue.
Public method
EndOfStreamAsync
Get the value with the largest timestamp for a data stream.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
FilteredSummaries
This method, when supplied a filter expression that evaluates to true or false, evaluates it over the passed time range. For the time ranges where the expression evaluates to true, the method calculates the requested summaries on the source attribute.
Public method
FilteredSummariesAsync
This method, when supplied a filter expression that evaluates to true or false, evaluates it over the passed time range. For the time ranges where the expression evaluates to true, the method calculates the requested summaries on the source attribute.
Public method
GetAllCachedValues
Get all the events in the AFDataCache for this AFData instance.
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
InterpolatedValue
Returns a single AFValue whose value is interpolated at the passed time.
Public method
InterpolatedValueAsync
Returns a single AFValue whose value is interpolated at the passed time.
Public method
InterpolatedValues
Retrieves interpolated values over the specified time range at the specified sampling interval.
Public method
InterpolatedValuesAsync
Retrieves interpolated values over the specified time range at the specified sampling interval.
Public method
InterpolatedValuesAtTimes
Retrieves interpolated values at the specified times.
Public method
InterpolatedValuesAtTimesAsync
Retrieves interpolated values at the specified times.
Public method
PlotValues
Retrieves values over the specified time range suitable for plotting over the number of intervals (typically represents pixels).
Public method
PlotValuesAsync
Retrieves values over the specified time range suitable for plotting over the number of intervals (typically represents pixels).
Public method
RecordedValue
Returns a single recorded AFValue based on the passed time and mode.
Public method
RecordedValueAsync
Returns a single recorded AFValue based on the passed time and mode.
Public method
RecordedValues
Returns a list of compressed values for the requested time range from the source provider.
Public method
RecordedValuesAsync
Returns a list of values for the requested time range from the source provider.
Public method
RecordedValuesAtTimes
Retrieves recorded values at the specified times.
Public method
RecordedValuesAtTimesAsync
Retrieves recorded values at the specified times.
Public method
RecordedValuesByCount
This method returns a specified number of compressed values beginning at the requested start time in the direction specified.
Public method
RecordedValuesByCountAsync
This method returns a specified number of compressed values beginning at the requested start time in the direction specified.
Public method
ReplaceValues(AFTimeRange, AFValues)
This method removes existing data within the specified AFTimeRange and inserts the specified values on the target system using the configured data reference.
Public method
ReplaceValues(AFTimeRange, AFValues, AFBufferOption)
This method removes existing data within the specified AFTimeRange and inserts the specified values on the target system using the configured data reference.
Public method
ReplaceValuesAsync(AFTimeRange, AFValues, CancellationToken)
This method removes existing data within the specified AFTimeRange and inserts the specified values on the target system using the configured data reference.
Public method
ReplaceValuesAsync(AFTimeRange, AFValues, AFBufferOption, CancellationToken)
This method removes existing data within the specified AFTimeRange and inserts the specified values on the target system using the configured data reference.
Public method
Summaries
Returns several summaries for a single attribute over a time range for each interval within the range.
Public method
SummariesAsync
Returns several summaries for a single attribute over a time range for each interval within the range.
Public method
Summary
Returns several summaries for a single attribute over a single time range.
Public method
SummaryAsync
Returns several summaries for a single attribute over a single time range.
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method
UpdateValue(AFValue, AFUpdateOption)
This method writes, replaces, or removes a value on the target system using the configured data reference.
Public method
UpdateValue(AFValue, AFUpdateOption, AFBufferOption)
This method writes, replaces, or removes a value on the target system using the configured data reference.
Public method
UpdateValues(AFValues, AFUpdateOption)
This method writes or replaces one or more values on the target system using the configured data reference.
Public methodCode example
UpdateValues(AFValues, AFUpdateOption, AFBufferOption)
This method writes or replaces one or more values on the target system using the configured data reference.
Public method
UpdateValuesAsync(AFValues, AFUpdateOption, CancellationToken)
This method writes or replaces one or more values on the target system using the configured data reference.
Public method
UpdateValuesAsync(AFValues, AFUpdateOption, AFBufferOption, CancellationToken)
This method writes or replaces one or more values on the target system using the configured data reference.

See Also

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