experiment.property
Class Rssi

java.lang.Object
  extended by experiment.property.Rssi

public class Rssi
extends java.lang.Object

Created by IntelliJ IDEA. User: andy Date: Mar 10, 2010 Utilizes objects that describe the wiseml rssi tag. The user needs to specify the name, datatype, unit and a value.


Constructor Summary
Rssi(Setup.Datatype dtype, Setup.Unit unit, java.lang.String value)
           
 
Method Summary
 Setup.Datatype getDtype()
           
 Setup.Unit getUnit()
           
 java.lang.String getValue()
           
 void update(java.lang.String value)
          Update's this Rssi's value with a new one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rssi

public Rssi(Setup.Datatype dtype,
            Setup.Unit unit,
            java.lang.String value)
Method Detail

getDtype

public Setup.Datatype getDtype()
Returns:
the rssi's datatype.

getUnit

public Setup.Unit getUnit()
Returns:
the rssi's Unit type.

getValue

public java.lang.String getValue()
Returns:
the rssi's actual value.

update

public void update(java.lang.String value)
Update's this Rssi's value with a new one. Type Compartibility is not checked, so the caller should make sure to use this method correctly.

Parameters:
value - is the new value.