ISensor Interface

Definition

Interface for a sensor

public interface ISensor
type ISensor = interface
Public Interface ISensor
Derived

Properties

Port

Sensor port

Value

Property to return the raw value of the sensor as an int

ValueAsString

Property to return the raw value of the sensort as a string

Methods

GetSensorName()

Gets the name of the sensor.

NumberOfModes()

Numbers the of modes.

ReadAsString()

Reads the sensor value as a string.

ReadRaw()

Reads the sensor values as a raw int value

SelectedMode()

Returned the name of the selectd mode

SelectNextMode()

Selects the next mode.

SelectPreviousMode()

Selects the previous mode.

UpdateSensor(Object)

To update sensors

Applies to