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.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
public bool SetValue(
	Ticks currentTime,
	Ticks timestamp,
	double value,
	MeasurementStateFlags flags
)

Parameters

currentTime  Ticks
Timestamp, in ticks, used to constrain TemporalMeasurement (typically set to real-time, i.e. "now").
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