to top
Datalogic APIs
public class

Discrete25

extends PropertyGroup
java.lang.Object
   ↳ com.datalogic.device.configuration.PropertyGroup
     ↳ com.datalogic.decode.configuration.Discrete25

Class Overview

Discrete25 is the class that configures the Discrete 2/5 Symbology. It includes Standard 2/5, Industrial 2/5, IATA 2/5.

Summary

Fields
public NumericProperty Length1 Length1 is one of the two configurable label lengths.
public NumericProperty Length2 Length2 is one of the two configurable label lengths.
public BooleanProperty enable enable enables or disables the symbology.
public EnumProperty<LengthControlMode> lengthMode lengthMode is the LengthControlMode selected for a label.
public CharacterProperty userID userID specifies the symbology identifier (if any).
Public Constructors
Discrete25(PropertyGetter editor)
This is the constructor of Discrete25.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public NumericProperty Length1

Length1 is one of the two configurable label lengths. It can be used as a single fixed accepted length, when lengthMode is set to ONE_FIXED. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length1 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public NumericProperty Length2

Length2 is one of the two configurable label lengths. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length2 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public BooleanProperty enable

enable enables or disables the symbology.

public EnumProperty<LengthControlMode> lengthMode

lengthMode is the LengthControlMode selected for a label. Selects the length control mode.

public CharacterProperty userID

userID specifies the symbology identifier (if any).
The symbology identifier is sent with the label when the global decode property sendCodeId is set to USERDEFINED_IDENTIFIER_BEFORE_LABEL or USERDEFINED_IDENTIFIER_AFTER_LABEL.

Public Constructors

public Discrete25 (PropertyGetter editor)

Added in revision 1

This is the constructor of Discrete25. All symbology options are initialized by editor.

Parameters
editor A PropertyGetter used to load the current barcode family.