fr.velossity.sample.device
Class Measurement
java.lang.Object
fr.velossity.sample.device.Measurement
public class Measurement
- extends Object
- Author:
- C. Saint-Marcel
|
Constructor Summary |
Measurement(Device source,
float value,
String unit,
long timestamp)
Constructor with all fields |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Measurement
public Measurement(Device source,
float value,
String unit,
long timestamp)
- Constructor with all fields
- Parameters:
source - the Device which have emit the measurementvalue - the valueunit - a not typed unittimestamp - the timestamp
getSource
public Device getSource()
getValue
public float getValue()
getUnit
public String getUnit()
getTimestamp
public long getTimestamp()
Copyright © 2011-2012 Velossity. All Rights Reserved.