TemporalMeasurementSetValue Method

Sets numeric value and timestamp, as ticks, of this TemporalMeasurement.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
public bool SetValue(
	Ticks timestamp,
	double value,
	MeasurementStateFlags flags
)

Parameters

timestamp  Ticks
New timestamp, in ticks, for TemporalMeasurement.
value  Double
New value for TemporalMeasurement, only stored if timestamp are newer than current Ticks.
flags  MeasurementStateFlags
New flags for TemporalMeasurement.

Return Value

Boolean
true if value was updated; otherwise false.

Remarks

Operation will only store a value that is newer than the cached value.

See Also