Table of Contents

Class Sensor

Namespace
Loehnert.Lisrt.Hbm
Assembly
Loehnert.Lisrt.Hbm.dll

Represents a HBM sensor as ISensor.

public class Sensor : ISensor
Inheritance
Sensor
Implements
Inherited Members

Constructors

Sensor(Sensor)

Initializes a new instance of the Sensor class.

public Sensor(Sensor sensor)

Parameters

sensor Sensor

HBM sensor object.

Properties

Description

Gets the description.

public string Description { get; }

Property Value

string

Range

Gets or sets the range. Default from MinValue to MaxValue.

public Range Range { get; set; }

Property Value

Range

Unit

Gets or sets the unit.

public string Unit { get; set; }

Property Value

string

Methods

Scale(double)

Scales the value. (Does nothing. Just for interface implementation.)

public double Scale(double input)

Parameters

input double

The value to scale.

Returns

double

A scaled value.