fr.velossity.sample.device
Class Measurement

java.lang.Object
  extended by 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
 
Method Summary
 Device getSource()
           
 long getTimestamp()
           
 String getUnit()
           
 float getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Measurement

public Measurement(Device source,
                   float value,
                   String unit,
                   long timestamp)
Constructor with all fields

Parameters:
source - the Device which have emit the measurement
value - the value
unit - a not typed unit
timestamp - the timestamp
Method Detail

getSource

public Device getSource()

getValue

public float getValue()

getUnit

public String getUnit()

getTimestamp

public long getTimestamp()


Copyright © 2011-2012 Velossity. All Rights Reserved.