public record EpcSchemeInfo
Static data of an EpcScheme: header, name, bit length.
Constructors
| Signature | Description |
# EpcSchemeInfo(EpcScheme Scheme, string Name, byte Header, int Bits, EpcKeyType Key) | Static data of an EpcScheme: header, name, bit length. Scheme: The scheme. · Name: Name as in TDS Table 14-1 and in the Tag URI, e.g. "sgtin-96", "sgtin+". · Header: 8-bit EPC header (TDS Table 14-1). · Bits: Encoded length in bits, or 0 for variable-length "+" schemes. · Key: The GS1 key. |
Properties
| Property | Type | Description |
static All { get; } | IReadOnlyList<EpcSchemeInfo> | All supported schemes. |
Bits { get; init; } | int | Encoded length in bits, or 0 for variable-length "+" schemes. |
IsPlus { get; } | bool | A TDS 2.0 "+" scheme (no Tag URI, no partition, +AIDC data toggle bit). |
Key { get; init; } | EpcKeyType | The GS1 key. |
Name { get; init; } | string | Name as in TDS Table 14-1 and in the Tag URI, e.g. "sgtin-96", "sgtin+". |
Scheme { get; init; } | EpcScheme | The scheme. |
Methods
| Method Signature | Returns | Description |
static # ByName(string name) | EpcSchemeInfo | Scheme by name ("sgtin-96", "SGTIN96", "sgtin+", "dsgtin-plus" …, case-insensitive), or null. |
# Deconstruct(out EpcScheme Scheme, out string Name, out byte Header, out int Bits, out EpcKeyType Key) | void | |
static # Of(EpcScheme scheme) | EpcSchemeInfo | Info of scheme. |
static # OtherSchemeName(byte header) | string | TDS name of a header value that is defined in Table 14-1 but not supported here (e.g. "gid-96", "cpi-96", "sgtin++"), or null. |