Table of Contents

Interface IInputChannel

Namespace
Loehnert.IO.Contracts
Assembly
Loehnert.IO.dll

Provides functionality for an input channel.

public interface IInputChannel : IHasKey, IHasDescription
Inherited Members

Properties

Adjustment

Gets or sets the adjustment.

IAdjustment Adjustment { get; set; }

Property Value

IAdjustment

Sensor

Gets or sets the sensor.

ISensor Sensor { get; set; }

Property Value

ISensor

Waveform

Gets the waveform. Usually returns GetWaveform().

IWaveform Waveform { get; }

Property Value

IWaveform

XUnit

Gets or sets the x unit, e. g. s.

string XUnit { get; set; }

Property Value

string

Methods

GetWaveform()

Gets the waveform from the sensor.

IWaveform GetWaveform()

Returns

IWaveform

The sensor waveform, scaled and adjusted.

Examples

Implement like:

foreach (var point in this.GetPoints().ToList())
waveform.Points.Add(new Point(point.X, Adjustment.Scale(Sensor.Scale(point.Y)));