Click or drag to resize

TemporalMeasurementSetValue Method

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

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public bool SetValue(
	Ticks timestamp,
	double value,
	MeasurementStateFlags flags
)
View Source

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