Click or drag to resize

CompactMeasurement(IMeasurement, SignalIndexCache, Boolean, Int64, Int32, Boolean) Constructor

Creates a new CompactMeasurement from an existing IMeasurement value.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public CompactMeasurement(
	IMeasurement measurement,
	SignalIndexCache signalIndexCache,
	bool includeTime = true,
	long[] baseTimeOffsets = null,
	int timeIndex = 0,
	bool useMillisecondResolution = false
)
View Source

Parameters

measurement  IMeasurement
Source IMeasurement value.
signalIndexCache  SignalIndexCache
Signal index cache used to serialize or deserialize runtime information.
includeTime  Boolean  (Optional)
Set to true to include time in serialized packet; otherwise false.
baseTimeOffsets  Int64  (Optional)
Base time offset array - set to null to use full fidelity measurement time.
timeIndex  Int32  (Optional)
Time index to use for base offset.
useMillisecondResolution  Boolean  (Optional)
Flag that determines if millisecond resolution is in use for this serialization.
See Also