Package se.hendeby.sensordata
Class SensorInfo
java.lang.Object
se.hendeby.sensordata.SensorInfo
Specifies information about different sensor types
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSensorInfo(String tag, String description, String unit, byte nDim, byte offset) Constructor. -
Method Summary
-
Field Details
-
tag
Tag identifying a type of measurements. The tag is used as identifier when the measurements are serialized. -
description
Sensor description. -
unit
Measurement unit. -
nDim
public final byte nDimDimension of the measured quantity. -
offset
public final byte offsetOffset of the measurement when representing it as a Matlab vector. This structure could more or less replace the specialized SensorData classes.
-
-
Constructor Details
-
SensorInfo
Constructor.- Parameters:
tag- Tag to be used for this measurement.description- Description of the sensor.unit- Unit of the measurement.nDim- Dimension of the measured quantity.offset- Offset of the data when represented as a Matlab vector.
-