Table of Contents

Interface ISensor

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

Represents the functionality for a sensor.

public interface ISensor

Properties

Range

Gets or sets the range.

Range Range { get; set; }

Property Value

Range

Unit

Gets or sets the unit.

string Unit { get; set; }

Property Value

string

Methods

Scale(double)

Scales an analog input to the sensor value.

double Scale(double input)

Parameters

input double

Analog input value.

Returns

double

The sensor value.