Tag Class
From TegoOS
A Sandcastle Documented Class Library
| Tag Class |
Represents a Gen 2 tag. Provides interfaces for the tag to act as a reader provider in order to use Gen 2 algorithms and
as a memory provider so that it can be used by memory formats to access memory without becoming coupled to Gen 2 technology.
Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
public class Tag : MemoryProvider, IReaderProvider, ISelection, IEnumerable<ISelect>, IEnumerable, INotifyPropertyChanged
Public Class Tag Inherits MemoryProvider Implements IReaderProvider, ISelection, IEnumerable(Of ISelect), IEnumerable, INotifyPropertyChanged
public ref class Tag : public MemoryProvider, IReaderProvider, ISelection, IEnumerable<ISelect^>, IEnumerable, INotifyPropertyChanged
type Tag = class inherit MemoryProvider interface IReaderProvider interface ISelection interface IEnumerable<ISelect> interface IEnumerable interface INotifyPropertyChanged end
The Tag type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelRequested | Gets whether cancellation of an operation has been requested. | |
| Chip | Gets the chip configuration (null if not known). Set when the tag TID is known. | |
| Count | Number of Select criteria used to select this tag (allows the tag to be used as an ISelection). | |
| EpcHex | Gets the tag EPC as a hex value. Raises a PropertyChanged event. | |
| Tid | Gets the tag TID (null if not known). Raises a PropertyChanged event. |
| Name | Description | |
|---|---|---|
| ChangeReader | Changes the reader used to access this tag. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetDeviceID | Gets (reading if needed) the manufacturer assigned identifier for the tag (e.g. TID). (Overrides MemoryProvider.GetDeviceID.) | |
| GetEnumerator | Enumerates the Select objects needed to select this tag (allows the tag to be used as an ISelection). | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetIdentifier | Gets the identifier of the tagged item (e.g. EPC). (Overrides MemoryProvider.GetIdentifier.) | |
| GetMemoryDepth | Gets the maximum write depth at an address. (Overrides MemoryProvider.GetMemoryDepth(Int32).) | |
| GetMemorySize | Gets the memory size (reading the chip identifier if necessary). (Overrides MemoryProvider.GetMemorySize.) | |
| GetReader | Gets the reader to use for this tag. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ImplementedRead | (Overrides MemoryProvider.ImplementedRead(Int32, Int32, String, FuncInt32, String, MemoryProgress).) | |
| ImplementedReadTo | (Overrides MemoryProvider.ImplementedReadTo(Int32, Int32, String, FuncInt32, String, MemoryProgress).) | |
| ImplementedWrite | (Overrides MemoryProvider.ImplementedWrite(Int32, UInt16, String, FuncInt32, String, MemoryProgress).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PeekMemorySize | Peeks the memory size if known. (Overrides MemoryProvider.PeekMemorySize.) | |
| RaiseProgress | Raises the Progress event for Read, ReadTo, ReadTid or Write operations. | |
| Read | Read tag in an efficient manner providing progress reports. | |
| ReadTid | Reads the TID for the tag provided that the chip type is known. | |
| ReadTo | Read tag in an efficient manner providing progress reports starting with higher memory first. | |
| RequestCancel | Request cancellation of a Read, ReadTo, ReadTid or Write operation. | |
| ToString | Reads the TID, setting the TID property. (Overrides ObjectToString.) | |
| Write | Read tag in an efficient manner providing progress reports. | |
| WriteEpc | Writes a new EPC to the tag. | |
| WriteIdentifier | Writes the identifier of the tagged item (e.g. EPC). (Overrides MemoryProvider.WriteIdentifier(String).) |
| Name | Description | |
|---|---|---|
| Progress | Progress event for Read, ReadTo, ReadTid or Write operations. | |
| PropertyChanged |
Event raised when one of the following properties changes: EpcHex, Tid, Chip
|