public readonly record struct RfidPc
The protocol control (PC) word of the EPC memory bank, bits 10h–1Fh (TDS §9.3, Gen2).
Constructors
| Signature | Description |
# RfidPc(ushort Value) | The protocol control (PC) word of the EPC memory bank, bits 10h–1Fh (TDS §9.3, Gen2). Value: The 16-bit word. |
Properties
| Property | Type | Description |
AttributeBits { get; } | int | Attribute bits (toggle 0) or AFI (toggle 1), bits 18h–1Fh. |
EpcWords { get; } | int | Length field L4–L0 (bits 10h–14h): number of 16-bit EPC words from bit 20h. |
Toggle { get; } | bool | Numbering system toggle (bit 17h): false = GS1 EPC, true = ISO UII with AFI. |
UserMemoryIndicator { get; } | bool | User memory indicator (bit 15h). |
Value { get; init; } | ushort | The 16-bit word. |
XpcIndicator { get; } | bool | XPC_W1 indicator (bit 16h). |
Methods
| Method Signature | Returns | Description |
# Deconstruct(out ushort Value) | void | |
static # For(int epcWords, bool userMemoryIndicator = false) | RfidPc | PC word for epcWords words of EPC, UMI, toggle 0 and attribute bits 0. |