Click or drag to resize

ImmediateMeasurements Class

Represents the absolute latest measurement values received by a ConcentratorBase implementation.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeriesImmediateMeasurements

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
public class ImmediateMeasurements : IEnumerable<TemporalMeasurement>, 
	IEnumerable, IDisposable
View Source

The ImmediateMeasurements type exposes the following members.

Constructors
 NameDescription
Public methodImmediateMeasurements Creates a new instance of the ImmediateMeasurements class.
Top
Properties
 NameDescription
Public propertyItem We retrieve adjusted measurement values within time tolerance of concentrator real-time.
Public propertyLagTime Gets or sets the allowed past time deviation tolerance, in seconds (can be sub-second).
Public propertyLeadTime Gets or sets the allowed future time deviation tolerance, in seconds (can be sub-second).
Public propertyMaximum Returns the maximum value of all measurements.
Public propertyMeasurementIDsReturns collection of measurement ID's.
Public propertyMinimum Returns the minimum value of all measurements.
Public propertyOutlierOperation Gets or sets the TemporalOutlierOperation for the ImmediateMeasurements when timestamp is outside defined Lag/Lead time bounds.
Public propertyOutlierState 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.
Public propertyRealTimeFunction Gets or sets function to return real-time.
Public propertyTagsReturns ID collection for measurement tags.
Top
Methods
 NameDescription
Public methodAddTaggedMeasurement Associates a new measurement ID with a tag, creating the new tag if needed.
Public methodCalculateAverage Calculates an average of all measurements.
Public methodCalculateTagAverage Calculates an average of all measurements associated with the specified tag.
Public methodClearMeasurementCache Clears the existing measurement cache.
Public methodDefineTaggedMeasurements Defines tagged measurements from a data table.
Public methodDispose Releases all the resources used by the ImmediateMeasurements object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the ImmediateMeasurements object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the ImmediateMeasurements object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMeasurement(IMeasurement) Retrieves the specified immediate temporal measurement, creating it if needed.
Public methodMeasurement(MeasurementKey) Retrieves the specified immediate temporal measurement, creating it if needed.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnLagTimeUpdated Updates the tracked temporal measurements lag time.
Protected methodOnLeadTimeUpdated Updates the tracked temporal measurements lead time.
Public methodTaggedMeasurementKeys Returns measurement list of specified tag, if it exists.
Public methodTagMaximum Returns the maximum value of all measurements associated with the specified tag.
Public methodTagMinimum Returns the minimum value of all measurements associated with the specified tag.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateMeasurementValue Store new measurement.
Top
Extension Methods
 NameDescription
Public Extension MethodAllParallelTemporalMeasurement Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension MethodDistinctByTemporalMeasurement, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodMajorityTemporalMeasurement Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityTemporalMeasurement Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityByTemporalMeasurement, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityByTemporalMeasurement, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMaxTemporalMeasurementReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMaxTemporalMeasurementReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMaxByTemporalMeasurement, TKeySelects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMedianTemporalMeasurement Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension MethodMinTemporalMeasurementReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinTemporalMeasurementReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinByTemporalMeasurement, TKeySelects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinorityTemporalMeasurement Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityTemporalMeasurement Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityByTemporalMeasurement, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityByTemporalMeasurement, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodStandardDeviationTemporalMeasurement Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviationTemporalMeasurement Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviationTemporalMeasurement Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodToDelimitedStringTemporalMeasurementConverts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToDelimitedStringTemporalMeasurementConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToDelimitedStringTemporalMeasurementConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToPagedListTemporalMeasurement Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also