Gs1ElementStringToRfidUserBank(EpcScheme) Method |
Returns an
RfidUserBank instance containing the
AIs in this GS1 element string
except for the AI(s)
corresponding to the specified EPC scheme.
This element string must contain the AI or AIs corresponding to the specified
EPC scheme as follows:
EPC Scheme | AIs |
---|
SGTIN | GTIN (AI 01) + SERIAL (AI 21) |
SSCC | SSCC (AI 00) |
SGLN | GLN (AI 414), with or without GLN Extension (AI 254) |
GRAI | GRAI (AI 8003) that includes the optional serial number |
GIAI | GIAI (AI 8004) |
GDTI | GDTI (AI 253) that includes the optional serial number |
GSRN | GSRN-Recipient (AI 8018) |
GSRNP | GSRN-Provider (AI 8017) |
CPI | CPID (AI 8010) + CPID SERIAL (AI 8011) |
SGCN | GCN (AI 255) that includes the optional serial number |
ITIP | ITIP (AI 8006) + SERIAL (AI 21) |
Equivalently,
ToRfidUserBank(scheme)
returns an
RfidUserBank
instance that includes all AIs
except the AI(s) that would be included
in the result of
ToEpc(gcpLength, scheme),
if the latter method would not
raise an exception.
Namespace: GS1.EPC.ApiAssembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntaxpublic virtual RfidUserBank ToRfidUserBank(
EpcScheme scheme
)
Parameters
- scheme EpcScheme
- The desired EPC scheme to be omitted from the user memory bank
Return Value
RfidUserBank
ExceptionsException | Condition |
---|
Gs1Exception | if this element string does not contain the AI(s) required to create
an EPC of the specified scheme.
|
See Also