ReadCycle Class Hierarchy

From RifidiWiki

Revision as of 18:35, 14 October 2009 by Kyle (Talk | contribs)

Jump to: navigation, search

The sensors plugins in the Sensor Abstraction Layer produce ReadCycle objects that are put into Esper. Because you query objects (rather than tables) in Esper, you need to know the class hierarchy of ReadCycle in order to write queries.

ReadCycle.png

ReadCycle

A ReadCycle represents one cycle of interaction with a sensor. It can contain 0 to many TagReadEvent objects. A cycle of interaction might entail polling the sensor for data or perhaps the sensor is pushing data to the edge server. It is also important to realize that since the Edge Server supports the concept of logical readers, a single ReadCycle might contain tag reads from multiple physical readers.

TagReadEvent

A TagReadEvent represents a single tag read from an RFID reader. The TagReadEvent object is a wrapper around a DataContainerEvent in order to provide information about the tag that is not written on the tag itself. For example, suppose you are interested in knowing the antenna that saw the tag. The antenna number is not information that is stored in the tag's memory bank. You can instead put this kind of information in the TagReadEvent object.

DatacontainerEvent

EpcGeneration1Event

EpcGeneration2Event

Personal tools