Rfid |
The RfidBank01 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals |
Returns true if the specified object is an RfidBank01 instance that is
bit-for-bit identical to this RfidBank01.
(Overrides ObjectEquals(Object)) |
![]() ![]() | FromAfiUiiBytes(Byte) | Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified byte array provides the contents of both the AFI and UII portions: the first byte becomes bits 18 through 1F (hex), and the most significant bit of byte array element 1 becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length of the UII portion (not counting the AFI) a multiple of 16 bits (that is, either 0 or 8 bits of padding are added). The PC length bits are calculated based on this padded length. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. If a zero-length array is specified, it is equivalent to specifying a byte array containing a single zero element (that is, an AFI of zero and a zero-length UII). |
![]() ![]() | FromAfiUiiBytes(Byte, Byte) | Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified afi populates bits 18 through 1F (hex), and the most significant bit of element 0 of the specified byte array becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length a multiple of 16 bits (that is, either 0 or 8 bits of padding are added). The PC length bits are calculated based on this padded length. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. |
![]() ![]() | FromAfiUiiHex | Parses the input as a hexadecimal representation of the AFI and UII portion of the Bank 01, beginning with bit 18 (hex), to create an RfidBank01 instance with the toggle bit set to indicate an ISO application. The specified hexadecimal string provides the contents of both the AFI and UII portions: the most significant (leftmost) bit of the hexadecimal representation becomes bit 18 (hex). Sufficient zero padding bits are added to make the total length of the UII portion (not counting the AFI) a multiple of 16 bits. The PC length bits are calculated based on this padded length. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. If a hexadecimal string shorter than two characters is specified, it is padded on the right with zero characters to make two characters total, prior to parsing as specified above. |
![]() ![]() | FromAfiUiiWords | Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified afi populates bits 18 through 1F (hex), and the most significant bit of element 0 of the specified array becomes bit 20 (hex). The PC length bits are calculated based on the length of the specified array. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. |
![]() ![]() | FromBackscatterBytes | Creates an RfidBank01 instance having the specified contents of the PC, XPC, and EPC/UII portion. The most significant bit of element 0 of the specified byte array becomes bit 10 (hex). Elements 0 and 1 of the specified byte array become bits 10 (hex) through 1F (hex) (the PC bits). If the XPC indicator (bit 16 hex, extracted from element 0 of the specified byte array) is zero, then the remaining elements of the byte array become bits 20 (hex) onward, with the most significant bit of element 2 becoming bit 20 (hex). If the XPC indicator is one, then elements 2 and 3 of the specified byte array become the XPC bits 210 (hex) through 21F (hex), and the remaining elements of the specified byte array become bits 20 (hex) onward (with the most significant bit of element 4 becoming bit 20 hex). This interpretation of the byte array corresponds to the way that the contents of Bank 01 are backscattered in the Gen2/18000-6C Air Interface protocol, excluding the CRC bits. If adjustEpcUiiLength is false, then sufficient zero padding bits are added to make the total length of the EPC/UII portion a multiple of 16 bits (that is, either 0 or 8 bits of padding are added), and the PC length bits are calculated based on this padded length, replacing whatever PC length value was provided in the input. If adjustEpcUiiLength is true, then the contents of the EPC/UII portion is either right-truncated or padded on the right with zeros to match the length implied by the PC bits provided in the input. If the specified byte array is smaller than two bytes (or four if the XPC indicator is one), then additional zero bytes are assumed to bring the total size to two (or four if the XPC indicator is one), for the purposes of parsing the input as specified above. |
![]() ![]() | FromBackscatterHex | Creates an RfidBank01 instance having the specified contents of the PC, XPC, and EPC/UII portion. The most significant bit of the first character of the input becomes bit 10 (hex). The first four characters of the input become bits 10 (hex) through 1F (hex) (the PC bits). If the XPC indicator (bit 16 hex, extracted from the second character of the input) is zero, then the remaining characters of the input become bits 20 (hex) onward, with the most significant bit of the fifth character becoming bit 20 (hex). If the XPC indicator is one, then the fifth through eighth characters of the input become the XPC bits 210 (hex) through 21F (hex), and the remaining characters of the input become bits 20 (hex) onward (with the most significant bit of the ninth character becoming bit 20 hex). This interpretation of the input corresponds to the way that the contents of Bank 01 are backscattered in the Gen2/18000-6C Air Interface protocol, excluding the CRC bits. If adjustEpcUiiLength is false, then sufficient zero padding bits are added to make the total length of the EPC/UII portion a multiple of 16 bits (that is, either 0, 4, 8, or 12 bits of padding are added), and the PC length bits are calculated based on this padded length, replacing whatever PC length value was provided in the input. If adjustEpcUiiLength is true, then the contents of the EPC/UII portion is either right-truncated or padded on the right with zeros to match the length implied by the PC bits provided in the input. If the length of the specified hexadecimal string is fewer than four characters, then sufficient zero characters are added to the right to make a total of four characters, and the result is interpreted as specified above. |
![]() ![]() | FromBackscatterWords |
Creates an RfidBank01 instance having the specified contents
of the PC, XPC, and EPC/UII portion. The most significant bit of element 0 of
the specified word array becomes bit 10 (hex). Element 0 of the specified
byte array become bits 10 (hex) through 1F (hex) (the PC bits). If the XPC indicator
(bit 16 hex, extracted from element 0 of the specified word array) is zero,
then the remaining elements of the word array become bits 20 (hex) onward,
with the most significant bit of element 1 becoming bit 20 (hex). If the XPC
indicator is one, then element 1 of the specified byte array becomes
the XPC bits 210 (hex) through 21F (hex), and the remaining elements of the
specified byte array become bits 20 (hex) onward (with the most significant bit
of element 2 becoming bit 20 hex). This interpretation of the byte array
corresponds to the way that the contents of Bank 01 are backscattered
in the Gen2/18000-6C Air Interface protocol, excluding the CRC bits.
If adjustEpcUiiLength is false, then the PC length bits are calculated based on the length of the specified array, replacing whatever PC length value was provided in the input. If adjustEpcUiiLength is true, then the contents of the EPC/UII portion is either right-truncated or padded on the right with zeros to match the length implied by the PC bits provided in the input. If a zero-length array is specified, it is equivalent to specifying a word array containing a single zero-valued element (that is, a zero-length EPC). If a one-length array is specified, and the XPC indicator is one, it is equivalent to specifying a word array with an additional zero-valued element. |
![]() ![]() | FromBarCodeCharacters(String, Gs1EpcLibTagSchemes, Int32) | Parses the specified Barcode String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix length is not required. |
![]() ![]() | FromBarCodeCharacters(String, String, Int32) | Parses the specified Barcode String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix length is not required. |
![]() ![]() | FromBarCodeCharacters(String, Gs1EpcLibTagSchemes, Int32, Int32) | Parses the specified Barcode String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromBarCodeCharacters(String, String, Int32, Gs1EpcLibEncodings) | Parses the specified Barcode String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required, and the encoding method for variable length alpha-numeric components needs to be specified. |
![]() ![]() | FromBarCodeCharacters(String, String, Int32, Int32) | Parses the specified Barcode String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromDigitalLink(String, Gs1EpcLibTagSchemes, Int32) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required. |
![]() ![]() | FromDigitalLink(String, String, Int32) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required. |
![]() ![]() | FromDigitalLink(String, Gs1EpcLibTagSchemes, Int32, Gs1EpcLibEncodings) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required, and the encoding method for variable length alpha-numeric components needs to be specified. |
![]() ![]() | FromDigitalLink(String, Gs1EpcLibTagSchemes, Int32, Int32) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromDigitalLink(String, String, Int32, Gs1EpcLibEncodings) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required, and the encoding method for variable length alpha-numeric components needs to be specified. |
![]() ![]() | FromDigitalLink(String, String, Int32, Int32) | Parses the specified Digital Link URI and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromEpcBytes | Creates an RfidBank01 instance with the toggle bit set to indicate an EPCglobal application, and having the specified contents of the EPC portion. The most significant bit of element 0 of the specified byte array becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length a multiple of 16 bits (that is, either 0 or 8 bits of padding are added). The PC length bits are calculated based on this padded length. All other PC bits are set to zero. |
![]() ![]() | FromEpcHex | Parses the input as a hexadecimal representation of the EPC portion of the EPC bank, beginning with bit 20 (hex), to create RfidBank01 instance. The most significant (leftmost) bit of the hexadecimal representation becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length a multiple of 16 bits. The PC length bits are calculated based on this padded length. All other PC bits are set to zero. |
![]() ![]() | FromEpcWords | Creates an RfidBank01 instance with the toggle bit set to indicate an EPCglobal application, and having the specified contents of the EPC portion. The most significant bit of element 0 of the specified array becomes bit 20 (hex). The PC length bits are calculated based on the length of the specified array. All other PC bits are set to zero. |
![]() ![]() | FromGs1ElementString(Gs1ElementString, String, Int32) | Parses the specified GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required. |
![]() ![]() | FromGs1ElementString(String, Gs1EpcLibTagSchemes, Int32) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix length is not required. |
![]() ![]() | FromGs1ElementString(String, String, Int32) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix length is not required. |
![]() ![]() | FromGs1ElementString(Gs1ElementString, Gs1EpcLibTagSchemes, Int32, Gs1EpcLibEncodings) | Parses the specified GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required, and the encoding method for variable length alpha-numeric components needs to be specified. |
![]() ![]() | FromGs1ElementString(Gs1ElementString, Gs1EpcLibTagSchemes, Int32, Int32) | Parses the specified GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromGs1ElementString(Gs1ElementString, String, Int32, Gs1EpcLibEncodings) | Parses the specified GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. Suitable for TDS 2.0 tag schemes where the GS1 company prefix is not required, and the encoding method for variable length alpha-numeric components needs to be specified. |
![]() ![]() | FromGs1ElementString(Gs1ElementString, String, Int32, Int32) | Parses the specified GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromGs1ElementString(String, Gs1EpcLibTagSchemes, Int32, Gs1EpcLibEncodings) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromGs1ElementString(String, Gs1EpcLibTagSchemes, Int32, Int32) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromGs1ElementString(String, String, Int32, Gs1EpcLibEncodings) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromGs1ElementString(String, String, Int32, Int32) | Parses the specified human readable GS1 Element String and returns the equivalent RfidBank01 encoded using the specified tag scheme. |
![]() ![]() | FromTagOrRawUri | Parses the specified EPC Tag URI or EPC Raw URI and returns the equivalent RfidBank01 |
![]() | GetHashCode |
Return the hash of the current object
(Overrides ObjectGetHashCode) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToEpc | Returns the EPC contained in this EPC bank, if possible; otherwise throws an EPCException. An EPC is returned if all of the following are true: (a) the toggle bit (bit 17 hex) is zero; (b) bits 20 hex through 27 hex, inclusive, exist and are equal to the EPC header for a defined EPC binary encoding; (c) the remaining bits required by that EPC binary encoding exist and do not violate any of the decoding rules for that encoding. |
![]() | ToGs1ElementString | Returns a GS1 Element String object |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |