public class BarcodeConfigurationLengths extends SymbologyBase implements ISymbologySetting
Constructor and Description |
---|
BarcodeConfigurationLengths(IAsciiCommandExecuting commander,
int address1,
int address2,
int min,
int max,
int factory1,
int factory2)
Initializes a new instance of the BarcodeConfigurationLengths class
|
Modifier and Type | Method and Description |
---|---|
int |
getFactoryDefault1()
Gets factory default LengthOne
|
int |
getFactoryDefault2()
Gets factory default LengthTwo
|
int |
getLength1()
Gets current value of LengthOne
|
int |
getLength2()
Gets current value of LengthTwo
|
BarcodeConfigurationValue |
getLengthOne() |
BarcodeConfigurationValue |
getLengthTwo() |
int |
getMaximumLength()
Gets the Maximum allowed length
|
int |
getMinimumLength()
Gets the Minimum allowed length
|
void |
setLengthOne(BarcodeConfigurationValue value) |
void |
setLengths(int length1,
int length2,
ReaderMemory readerMemory)
Sets the valid code lengths
To allow One Discrete Length, LengthOne should be greater than zero and LengthTwo equal zero.
|
void |
setLengthTwo(BarcodeConfigurationValue value) |
add, clearCache, getSaveRequired, makePermanent, setFactoryDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCache, getSaveRequired, makePermanent, setFactoryDefault
public BarcodeConfigurationLengths(IAsciiCommandExecuting commander, int address1, int address2, int min, int max, int factory1, int factory2)
commander
- Used to command the connected readeraddress1
- Symbol PL4507 decoder parameter address for length 1address2
- Symbol PL4507 decoder parameter address for length 2min
- Minimum length allowed (and zero)max
- Maximum length allowed (and zero)factory1
- Factory default value for length 1factory2
- Factory default value for length 2public BarcodeConfigurationValue getLengthOne()
public void setLengthOne(BarcodeConfigurationValue value)
public BarcodeConfigurationValue getLengthTwo()
public void setLengthTwo(BarcodeConfigurationValue value)
public int getLength1()
public int getLength2()
public int getMinimumLength()
public int getMaximumLength()
public int getFactoryDefault1()
public int getFactoryDefault2()
public void setLengths(int length1, int length2, ReaderMemory readerMemory)
length1
- Length 1 valuelength2
- Length 2 valuereaderMemory
- Permanent or Temporary