A Sandcastle Documented Class Library
Grai96 Class |
Encoder / decoder for 96 bit global returnable asset identifier (grai-96) EPC codes.
Inheritance Hierarchy
SystemObject ErrorsContainer
Model
Tego.Rfid.TdsEpcEncoder
Tego.Rfid.TdsPartitionedEpcEncoder
Tego.Rfid.TdsGrai96
Model
Tego.Rfid.TdsEpcEncoder
Tego.Rfid.TdsPartitionedEpcEncoder
Tego.Rfid.TdsGrai96
Namespace: Tego.Rfid.Tds
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
The Grai96 type exposes the following members.
Constructors
Properties
Name | Description | |
---|---|---|
AssetType | Gets or sets the asset type. | |
FieldTable | Gets a table mapping EPC field PropertyInfo to the EpcFieldAttribute which describes the field. (Inherited from EpcEncoder.) | |
Filter | Gets or sets the filter value. | |
FirstPartitionParameters | Partition attributes for the first partition field. (Inherited from PartitionedEpcEncoder.) | |
FirstPartitionPropertyInfo | PropertyInfo for the first partition field. (Inherited from PartitionedEpcEncoder.) | |
Header | Gets the header byte used by this encoder. (Inherited from EpcEncoder.) | |
Organization | Gets or sets the organization. | |
Scheme | Gets the name of the encoding scheme implemented by this encoder. (Inherited from EpcEncoder.) | |
SecondPartitionParameters | Partition attributes for the second partition field. (Inherited from PartitionedEpcEncoder.) | |
SecondPartitionPropertyInfo | PropertyInfo for the second partition field. (Inherited from PartitionedEpcEncoder.) | |
SerialNumber | Gets or sets the serial number. | |
WordCount | Gets the number of words this encoder produces when encoding (VARIABLE if not fixed). (Inherited from EpcEncoder.) |
Methods
Name | Description | |
---|---|---|
Decode | Decodes an EPC hexadecimal string and sets the fields of the encoder accordingly. (Inherited from EpcEncoder.) | |
DecodeField | Decodes a field, reading its value from a word array and setting the corresponding property. Overriden to handle partitions. (Inherited from PartitionedEpcEncoder.) | |
Encode | Encode EPC fields into corresponding words. (Inherited from EpcEncoder.) | |
EncodeField | Encodes a field returning the number of bits used. Overriden to handle partitions. (Inherited from PartitionedEpcEncoder.) | |
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.) | |
GetFirstPartitionBitCount | Gets the number of bits in the first partition. Excludes the partition value bits. (Inherited from PartitionedEpcEncoder.) | |
GetFirstPartitionCharacterCount | Gets the character count in the first partition. (Inherited from PartitionedEpcEncoder.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSecondPartitionBitCount | Gets the number of bits in the second partition. (Inherited from PartitionedEpcEncoder.) | |
GetSecondPartitionCharacterCount | Gets the character count in the second partition. (Inherited from PartitionedEpcEncoder.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetFromTagUriString | Set encoder fields from a Tag URI. (Inherited from EpcEncoder.) | |
SetPropertyFromTagUriField | Set an encoder field from a field within a Tag URI. Override this if a field needs to be decoded in an an unusual manner. (Inherited from EpcEncoder.) | |
ToIdUriString |
Virtual method to generate the EPC Identity URI, e.g. urn:epc:id:sgtin:0614141.812345.6789
Override this method in the encoder if the URI is not formed from the properties in order.
(Inherited from EpcEncoder.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToTagUriString | Method to generate the EPC Tag URI, e.g. urn:epc:tag:sgtin-96:3.0614141.812345.6789 (Inherited from EpcEncoder.) | |
Validate | (Inherited from PartitionedEpcEncoder.) |
Fields
Name | Description | |
---|---|---|
HEADER | Header byte used to identify this EPC type. | |
NAME | Human readable, internationalized description of this EPC code. | |
SCHEME | EPC encoding scheme as used in the Tag URI. |
See Also