fr.velossity.sample.device
Interface Device
public interface Device
Device Main interface for your OSGi platform.
- Author:
- C. Saint-Marcel
DEVICE_STATE_FUNCTIONAL
static final String DEVICE_STATE_FUNCTIONAL
- Device state.
- See Also:
- Constant Field Values
DEVICE_STATE_NOTFUNCTIONAL
static final String DEVICE_STATE_NOTFUNCTIONAL
- Device state for failures.
- See Also:
- Constant Field Values
DEVICE_PROPERTY_IDENTIFIER
static final String DEVICE_PROPERTY_IDENTIFIER
- See Also:
- Constant Field Values
getIdentifier
String getIdentifier()
- Returns:
- a unique identifier
getType
String getType()
- Returns:
- the device type, freely implemented
getState
String getState()
- Returns:
- the current type of the device
getLastMeasure
Measurement getLastMeasure()
- Returns:
- the last measurement
Copyright © 2011-2012 Velossity. All Rights Reserved.