ISensor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |