Decode Results

Sepasoft MES Module Suite

Decode Result Properties

getErrorMessage()


Description

Returns the error message from the decoding process.


Syntax

getErrorMessage()

 

  • Parameters

None

  • Returns

String errorMessage - The message to display when an error occurs.

  • Scope

All


getRawBarcode()


Description

Gets the raw barcode for this decode results.


Syntax

getRawBarcode()

 

  • Parameters

None

  • Returns

 String rawBarcode - The raw barcode for this decode results.

  • Scope

All


getResults()


Description

Returns the results as a hash table after the decoding process.


Syntax

getResults()

 

  • Parameters

None

  • Returns

 Hashtable<String, List<String>> results - A hash table of the decoded results.

  • Scope

All


getUnmatched()


Description

Returns the unmatched barcode for this decode results.


Syntax

getUnmatched()

 

  • Parameters

None

  • Returns

 String unMatched - The unmatched raw barcode after the decode method was called.

  • Scope

All


GS1ConvertToDate(value)


Description

This is helper function to convert a GS1 formatted barcode date to a date object.


Syntax

GS1ConvertToDate(value)

 

  • Parameters

String value - String value in the format of “YYMMDD”

  • Returns

 The resultant date object.

  • Scope

All


GS1ConvertToDouble(value, decimalPlace)


Description

This is a helper function to convert a GS1numeric value to a double with the correct decimal place.


Syntax

GS1ConvertToDouble(value, decimalPlace)

 

  • Parameters

String value - String that represents the number to be converted to a double.

String decimalPlace - String that represents the place in the value parameter to place the decimal place.

  • Returns

The resultant double value.

  • Scope

All


GS1ConvertToFloat(value, decimalPlace)


Description

This is a helper function to convert a GS1numeric value to a float with the correct decimal place.


Syntax

GS1ConvertToFloat(value, decimalPlace)

 

  • Parameters

String value - String that represents the number to be converted to a float.

String decimalPlace - String that represents the place in the value parameter to place the decimal place.

  • Returns

The resultant float value.

  • Scope

All


hasErrorMessage()


Description

Checks for the presence of an error message.


Syntax

hasErrorMessage()

 

  • Parameters

None

  • Returns

boolean True, if there is an error message passed with the decode results.

  • Scope

All


hasResults()


Description

Checks whether there is decoded barcode results that matched the patterns given.


Syntax

hasResults()

 

  • Parameters

None

  • Returns

boolean True, if there is decoded barcode results that matched the patterns given.

  • Scope

All


hasUnmatched()


Description

Checks the presence of unmatched barcodes.


Syntax

hasUnmatched()

 

  • Parameters

None

  • Returns

 boolean True, if there is any unmatched barcode.

  • Scope

All


 

 

 

Sepasoft MES Module Suite