edu.washington.cs.rfid.data
Class AntMetadata
java.lang.Object
edu.washington.cs.rfid.data.AntMetadata
- All Implemented Interfaces:
- java.io.Serializable
public class AntMetadata
- extends java.lang.Object
- implements java.io.Serializable
The memory resident representation of antenna metadata.
- Author:
- Evan
- See Also:
- Serialized Form
Constructor Summary |
AntMetadata(int antID,
java.lang.String symID,
int rdrID,
int antNum,
int floor,
double gmapX,
double gmapY,
double lat,
double lon,
double alt,
int assetNum)
Creates a new AntennaMetadata object with the given parameters. |
Method Summary |
java.lang.String |
toString()
Returns a String representing this AntennaMetadata . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
antID
public int antID
symID
public java.lang.String symID
rdrID
public int rdrID
antNum
public int antNum
floor
public int floor
gmapX
public double gmapX
gmapY
public double gmapY
lat
public double lat
lon
public double lon
alt
public double alt
assetNum
public int assetNum
AntMetadata
public AntMetadata(int antID,
java.lang.String symID,
int rdrID,
int antNum,
int floor,
double gmapX,
double gmapY,
double lat,
double lon,
double alt,
int assetNum)
- Creates a new
AntennaMetadata
object with the given parameters.
- Parameters:
antID
- The antenna IDsymID
- The symbolic ID (ex: "above north Ubicomp lab door")rdrID
- The reader IDantNum
- The antenna number on the reader (1-4)floor
- The floor numbergmapX
- The X pixel coordinate on the gmap imagegmapY
- The Y pixel coordinate on the gmap imagelat
- The latitudelon
- The longitudealt
- The altitude in metersassetNum
- The asset number of the antenna
toString
public java.lang.String toString()
- Returns a
String
representing this AntennaMetadata
.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A
String
representing this AntennaMetadata
.