NurApiTagStorage Class

Fast EPC/C# optimized hash based tag data storage class.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public class TagStorage : IEnumerable<NurApiTag>, 
	IEnumerable
Inheritance
Object    NurApiTagStorage
Implements
IEnumerableNurApiTag, IEnumerable

Constructors

NurApiTagStorageInitializes a new instance of the NurApiTagStorage class

Properties

Count Gets number tags currently stored in storage.
EnableXPCRemoval Set/Get automatic XPC removing. Defaults to true
ItemByte Gets tag by EPC code
ItemInt32 Zero based index to get tag

Methods

AddOrUpdateTag Add / update nur protocol tag in tag storage
AddTag(NurApiTag) Add new tag to storage. Tag is added only there's no tag with same EPC already.
AddTag(NurApiTag, NurApiTag) Add / update tag in tag storage
Clear Clear tag storage, including added and updated tags list.
Copy Copy tags from other TagStorage to this storage. Only tags with different EPC are added.

Remarks

If tag is already found in storage, it's meta data is updated from source tag storage
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetAddedTags Get list of newly added tags in this storage since last called Clear.
GetEnumerator IEnumerable interface
GetHashCode
(Inherited from Object)
GetTag(Byte) Gets tag by EPC code.
GetTag(String) Gets tag by EPC code formatted as hex string, where 2 characters represents 1 byte.
GetType
(Inherited from Object)
GetUpdatedTags Get list of updated tags in this storage since last called Clear.
HasTag(Byte) Test if tag with this EPC is stored in storage already.
HasTag(String) Test if tag with this EPC is stored in storage already.
HasTag(NurApiTag) Test if tag with same EPC is stored in storage already.
IndexOf(Byte) Get tag index if found
IndexOf(String) Get tag's index if found
MemberwiseClone
(Inherited from Object)
Remove(Byte) Remove a single tag entry (if found) from the storage.
Remove(Int32) Remove a single tag entry (if found) from the storage.
Remove(String) 
ToString
(Inherited from Object)
TryGetTag Gets tag by EPC code

See Also