Package com.sentilla.measure.unit

Sentilla measurable units libraries for use with sensing and actuation.

See:
          Description

Class Summary
FloatAmpere  
FloatBit  
FloatCandela  
FloatCelsius  
FloatCoulomb  
FloatCubicMeter  
FloatFarad  
FloatGram  
FloatHenry  
FloatHertz  
FloatJoule  
FloatKelvin  
FloatKilogram  
FloatLumen  
FloatLux  
FloatMeter  
FloatMeterPerSecond  
FloatMeterPerSquareSecond  
FloatMole  
FloatNewton  
FloatOhm  
FloatPascal  
FloatRadian  
FloatRelativeHumidity  
FloatSecond  
FloatSiemens  
FloatSquareMeter  
FloatSteradian  
FloatTesla  
FloatVolt  
FloatWatt  
FloatWeber  
 

Package com.sentilla.measure.unit Description

Sentilla measurable units libraries for use with sensing and actuation.

These libraries primarily implement Comparable and Measurable interfaces. When building a Driver, it is necessary to return a Measurable<Quantity>. The classes in this package facilitate driver building by providing classes that can contain a specific unit.

For example, a custom temperature driver may sample a sensor, and return the reading. The reading may be returned by creating a new FloatCelsius class with the reading, such as return new FloatCelsius((double)reading);. In this case, FloatCelsius is a helper library that converts the raw reading into a class that implements both the Comparable and Measurable interfaces.



Copyright © 2007 Sentilla Corporation. All Rights Reserved.