Method | Description | |
---|---|---|
Bin2Dec ( String binary ) : String | ||
RefreshTranslations ( ) : void |
Checks each subscription for any update, reloading new rules where necessary and forces the software to reload or recompile its internal representation of the encoding/decoding rules based on the current remaining subscriptions.
|
|
TDTEngine ( ) : System |
Constructor for a new Tag Data Translation engine. Constructor for a new Tag Data Translation engine. This constructor loads and parses the schemes included in the directory Resources\Schemes The ManagerTranslation.xml file is loaded from a directory called Resources\Auxiliary. All schemes must have filenames ending in .xml |
|
Translate ( String epcIdentifier, String>.IEnumerable |
Translates epcIdentifier from one representation into another within the same coding scheme. [.NET Version]
|
|
Translate ( String epcIdentifier, String parameterList, String outputFormat ) : String |
Translates epcIdentifier from one representation into another within the same coding scheme. [TDT 1.6 Version]
|
|
dec2bin ( String d ) : String |
Method | Description | |
---|---|---|
ApplyPadChar ( String bare, PadDirectionList dir, String padchar, int requiredLength ) : String | ||
Bin2AlphaNumSix ( String binary ) : String | ||
Bin2UpperCaseFive ( String binary ) : String | ||
BinaryToString ( String value, int compaction ) : String |
Converts a binary string to a character string according to the specified compaction
|
|
BuildGrammer ( Tuple |
Builds the out string using ABNF protocol
|
|
CheckTokenCharacterSet ( Field f, String token ) : void |
Method to check the CharacterSet of an input token
|
|
CheckTokenMinMax ( Field f, String token ) : void |
Method to check an input tokens min and max based on the min and max field attributes
|
|
ConvertTokensToBinary ( Tuple |
||
ExtractInputTokens ( String epcIdentifier, String>.IEnumerable |
Method to extract, validate and format the field tokens from the input into its string representation
|
|
GetInputOption ( String epcIdentifier, String>.IEnumerable |
Gets the Option for the input and the inputParameters
|
|
GetInputParameterValue ( String parameterName, String>.IEnumerable |
Helper to find an input parameter if it exists in the inputParameters
|
|
LoadEpcTagDataTranslations ( ) : void |
Method for loading all of the *.xml schemes files from disk to main memory data structures
|
|
LoadGEPC64Table ( ) : void |
Method that loads and parses the Resources\Auxilary\ManagerTranslation.xml into _gs1cpi
|
|
ProcessRules ( Tuple |
Method for processing extract & format rules
|
|
StringToBinary ( String value, CompactionMethodList compaction ) : String | ||
StripPadChar ( String padded, PadDirectionList dir, String padchar ) : String | ||
StripTokenBinaryPadding ( String token, PadDirectionList bitPadDir, int compaction ) : String |
Method to Strip the binary padding from a token
|
|
alphanumsix2bin ( String alphanumsix ) : String | ||
asciiseven2bin ( String asciiseven ) : String | ||
bin2asciiseven ( String binary ) : String | ||
bin2bytestring ( String binary ) : String | ||
bytestring2bin ( String bytestring ) : String | ||
padBinary ( String binary, int reqlen ) : String | ||
uppercasefive2bin ( String uppercasefive ) : String |
public Translate ( String epcIdentifier, String>.IEnumerable |
||
epcIdentifier | String | The epcIdentifier to be converted. This should be expressed as a string, in accordance with one of the grammars /// or patterns in the TDT markup files, i.e. a binary string consisting of characters '0' and '1', a URI (either tag-encoding or pure-identity formats), /// or a serialized identifier expressed as in Table 3 |
parameterList | String>.IEnumerable | IEnumerable list of key value pair parameters needed for doing some translations |
outputFormat | LevelTypeList | The output format for the |
return | String |
public Translate ( String epcIdentifier, String parameterList, String outputFormat ) : String | ||
epcIdentifier | String | The epcIdentifier to be converted. This should be expressed as a string, in accordance with one of the grammars /// or patterns in the TDT markup files, i.e. a binary string consisting of characters '0' and '1', a URI (either tag-encoding or pure-identity formats), /// or a serialized identifier expressed as in Table 3 |
parameterList | String | This is a parameter string containing key value pairs, using the semicolon [';'] as delimiter between key=value pairs.
/// |
outputFormat | String | The output format into which the epcIdentifier SHALL be converted.
/// |
return | String |