Gemstone Timeseries Library
Show/Hide TOC

# ImmediateMeasurements Class

Represents the absolute latest measurement values received by a ConcentratorBase implementation.

## Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.143 -- Release Build+6200516e1d8796210682e4fa5670553a73472309
C#
View Source Request Example

    public class ImmediateMeasurements : IEnumerable<TemporalMeasurement>,
    	IEnumerable, IDisposable

VB
View Source Request Example

    Public Class ImmediateMeasurements
    	Implements IEnumerable(Of TemporalMeasurement), IEnumerable,
    	IDisposable

C++
View Source Request Example

    public ref class ImmediateMeasurements : IEnumerable<TemporalMeasurement^>,
    	IEnumerable, IDisposable

JavaScript
View Source Request Example

    Gemstone.Timeseries.ImmediateMeasurements = function();

    Type.createClass(
    	'Gemstone.Timeseries.ImmediateMeasurements',
    	null,
    	IEnumerable`1,
    	IEnumerable,
    	IDisposable);

Inheritance
  Object ImmediateMeasurements

Implements
  IEnumerable TemporalMeasurement, IEnumerable, IDisposable

## Constructors

ImmediateMeasurements | Creates a new instance of the ImmediateMeasurements class.

## Properties

Item | We retrieve adjusted measurement values within time tolerance of concentrator real-time.
LagTime | Gets or sets the allowed past-time deviation tolerance, in seconds (can be sub-second).
LeadTime | Gets or sets the allowed future time deviation tolerance, in seconds (can be sub-second).
Maximum | Returns the maximum value of all measurements.
MeasurementIDs | Returns collection of measurement ID's.
Minimum | Returns the minimum value of all measurements.
OutlierOperation | Gets or sets the TemporalOutlierOperation for the ImmediateMeasurements when timestamp is outside defined Lag/Lead time bounds.
OutlierState | Gets or sets the MeasurementStateFlags to apply to the ImmediateMeasurements when OutlierOperation is set to PublishWithBadState and timestamp is outside defined Lag/Lead time bounds.
RealTimeFunction | Gets or sets function to return real-time.
Tags | Returns ID collection for measurement tags.

## Methods

AddTaggedMeasurement | Associates a new measurement ID with a tag, creating the new tag if needed.
CalculateAverage | Calculates an average of all measurements.
CalculateTagAverage | Calculates an average of all measurements associated with the specified tag.
ClearMeasurementCache | Clears the existing measurement cache.
DefineTaggedMeasurements | Defines tagged measurements from a data table.
Dispose | Releases all the resources used by the ImmediateMeasurements object.
Dispose(Boolean) | Releases the unmanaged resources used by the ImmediateMeasurements object and optionally releases the managed resources.
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Releases the unmanaged resources before the ImmediateMeasurements object is reclaimed by GC. (Overrides ObjectFinalize)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
Measurement(IMeasurement) | Retrieves the specified immediate temporal measurement, creating it if needed.
Measurement(MeasurementKey) | Retrieves the specified immediate temporal measurement, creating it if needed.
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
OnLagTimeUpdated | Updates the tracked temporal measurements lag time.
OnLeadTimeUpdated | Updates the tracked temporal measurements lead time.
TaggedMeasurementKeys | Returns measurement list of specified tag, if it exists.
TagMaximum | Returns the maximum value of all measurements associated with the specified tag.
TagMinimum | Returns the minimum value of all measurements associated with the specified tag.
ToString | Returns a string that represents the current object. (Inherited from Object)
UpdateMeasurementValue | Store new measurement.

## See Also

#### Reference

Gemstone.Timeseries Namespace