Class MeterConfig

  • All Implemented Interfaces:

    
    public class MeterConfig
    
                        

    Configuration for scanning meters

    • Constructor Detail

      • MeterConfig

        MeterConfig()
    • Method Detail

      • getMinConfidence

         Integer getMinConfidence()

        Sets a minimum confidence which has to be reached in order to trigger a scan result.

      • setMinConfidence

         void setMinConfidence(Integer minConfidence)

        Sets a minimum confidence which has to be reached in order to trigger a scan result.

      • getMaxNumDecimalDigits

         Integer getMaxNumDecimalDigits()

        Defines the maximum number of read decimal digits for values >=0. Negative values mean all decimal digits are read. Currently implemented only for the "auto_analog_digital_meter" scan mode.

      • setMaxNumDecimalDigits

         void setMaxNumDecimalDigits(Integer maxNumDecimalDigits)

        Defines the maximum number of read decimal digits for values >=0. Negative values mean all decimal digits are read. Currently implemented only for the "auto_analog_digital_meter" scan mode.

      • getValidationRegex

         String getValidationRegex()

        Sets a regular expression which the scanned text needs to match in order to trigger a scan result.

      • setValidationRegex

         void setValidationRegex(String validationRegex)

        Sets a regular expression which the scanned text needs to match in order to trigger a scan result.