Class Waveform
Represents a waveform for an HBM channel.
public class Waveform : IWaveform, IHasKey
- Inheritance
-
Waveform
- Implements
- Inherited Members
Constructors
Waveform(string, int)
Initializes a new instance of the Waveform class.
public Waveform(string key, int sampleRate)
Parameters
Properties
Key
Gets a unique key.
public string Key { get; }
Property Value
Points
Gets the points of the waveform.
public IPointCollection Points { get; }
Property Value
StartTime
Gets the start time. It depends on implementation, when the start time is set.
public DateTime? StartTime { get; }
Property Value
Methods
AddMeasurementValues(MeasurementValues)
Adds the newest values of an Hbm.Api.Common.Entities.MeasurementValues object.
public void AddMeasurementValues(MeasurementValues values)
Parameters
values
MeasurementValuesValues with timestamps.
Exceptions
- InvalidOperationException
Thrown when there are not as many Hbm.Api.Common.Entities.MeasurementValues.Timestamps as Hbm.Api.Common.Entities.MeasurementValues.Values.