Class Waveform
Represents a waveform.
public class Waveform : IWaveformWithUnits, IWaveform, IHasKey
- Inheritance
-
Waveform
- Implements
- Derived
- Inherited Members
Constructors
Waveform(string, DateTime?, IEnumerable<Point>, string, string)
Initializes a new instance of the Waveform class.
public Waveform(string key, DateTime? startTime, IEnumerable<Point> points = null, string xUnit = null, string yUnit = null)
Parameters
key
stringKey of the waveform.
startTime
DateTime?Start time of waveform. Can be null.
points
IEnumerable<Point>Points of waveform. Can be null.
xUnit
stringThe unit for the x-direction.
yUnit
stringThe unit for the y-direction.
Exceptions
- ArgumentNullException
Thrown when
key
is null.
Properties
Key
Gets the key of the waveform.
public string Key { get; }
Property Value
Points
Gets the points of the waveform.
public IPointCollection Points { get; }
Property Value
StartTime
Gets the start time.
public DateTime? StartTime { get; }
Property Value
XUnit
Gets the x unit.
public virtual string XUnit { get; }
Property Value
YUnit
Gets the y unit.
public virtual string YUnit { get; }