|
MeasurementClone(IMeasurement, Double, Ticks, MeasurementStateFlags, Boolean) Method
|
Creates a copy of the specified measurement using a new value, timestamp and state flags.
Namespace: GSF.TimeSeriesAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax GSF.TimeSeries.Measurement.Clone = function(measurementToClone, value, timestamp, stateFlags, replaceFlags);
View SourceParameters
- measurementToClone IMeasurement
- Specified measurement to clone.
- value Double
- New value for cloned measurement.
- timestamp Ticks
- New timestamp, in ticks, for cloned measurement.
- stateFlags MeasurementStateFlags
- New state flags for cloned measurement.
- replaceFlags Boolean (Optional)
- Determines if stateFlags should assigned as new (default) or be Or'd with existing flags.
Return Value
MeasurementA copy of the
Measurement object.
See Also