Class SamplingConfiguration
- Namespace
- Cognite.Simulator.Extensions
- Assembly
- Cognite.Simulator.Extensions.dll
Represents the configuration to sample data points in a time series
public class SamplingConfiguration
- Inheritance
-
SamplingConfiguration
- Inherited Members
Constructors
SamplingConfiguration(long, long?, SamplingPosition)
Constructs a sampling configuration
public SamplingConfiguration(long end, long? start = null, SamplingPosition samplingPosition = SamplingPosition.Midpoint)
Parameters
end
longend time, in milliseconds
start
long?start time, in milliseconds. Only required when data sampling is enabled.
samplingPosition
SamplingPositionPosition of the simulation time relative to the sampling window. Only relevant when data sampling is enabled. Defaults to Midpoint.
Properties
End
End of the sampling range, in milliseconds
public long End { get; }
Property Value
SimulationTime
Time associated with the simulation, in milliseconds
public long SimulationTime { get; }
Property Value
Start
Start of the sampling range, in milliseconds
public long? Start { get; }
Property Value
- long?