public class SSI1DParamValueList
extends java.lang.Object
Constructor and Description |
---|
SSI1DParamValueList()
Create an instance of the SSI1DParamValueList class.
|
SSI1DParamValueList(SSI1DParamValue item)
Create an instance of the SSI1DParamValueList class.
|
SSI1DParamValueList(SSI1DParamValue[] item)
Create an instance of the SSI1DParamValueList class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(SSI1DParamName name,
java.lang.Object value)
Add parameter information to the SSI1DParamValueList instance.
|
boolean |
add(SSI1DParamValue item)
Add parameter information to the SSI1DParamValueList instance.
|
boolean |
add(SSI1DParamValue[] items)
Add all the information for the SSI1DParamValueList instance.
|
SSI1DParamValue |
get(int index)
Returns the parameter information of the barcode module.
|
SSI1DParamValue |
getAt(SSI1DParamName name)
Returns the parameter information of the barcode module.
|
byte[] |
getBytes(int engine)
Returns the parameters of the SSI1DParamValueList.
|
int |
getCount()
Returns the type of parameter stored in the SSI1DParamValueList instance and the number of pieces of information in the value pair.
|
java.lang.Object |
getValue(int index)
Returns the parameter value of the SSI1DParamValueList.
|
java.lang.Object |
getValueAt(SSI1DParamName name)
Returns the parameter value of the SSI1DParamValueList.
|
static SSI1DParamValueList |
parseParams(byte[] data,
int engine)
Returns the parameter name and value of the barcode module.
|
public SSI1DParamValueList()
public SSI1DParamValueList(SSI1DParamValue item)
public SSI1DParamValueList(SSI1DParamValue[] item)
public int getCount()
public boolean add(SSI1DParamValue item)
item
- SSI1DParamValue represent the parameter type and value.public boolean add(SSI1DParamValue[] items)
items
- An instance of SSI1DParamValueList with added parameter informations.public boolean add(SSI1DParamName name, java.lang.Object value)
item
- SSI1DParamName represent the parameter type.value
- Object represent the parameter value.public SSI1DParamValue getAt(SSI1DParamName name) throws ATException
name
- An identifier representing the name of the information in the SSI1DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public SSI1DParamValue get(int index) throws ATException
index
- An identifier representing the location of the information in the SSI1DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValueAt(SSI1DParamName name) throws ATException
name
- An identifier representing the name of the information in the SSI1DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValue(int index) throws ATException
index
- An identifier representing the location of the information in the SSI1DParamValueList.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public byte[] getBytes(int engine) throws ATException
engine
- An identifier representing the type of the barcode module.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public static SSI1DParamValueList parseParams(byte[] data, int engine) throws ATException
data
- An identifier representing the parameter name and value of the barcode module.engine
- An identifier representing the type of the barcode module.ATException
- An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.