public class ModbusSerialConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
__equalsCalc |
private boolean |
__hashCodeCalc |
private int |
baudrate |
private boolean |
contiguousBatches |
private boolean |
createSlaveMonitorPoints |
private boolean |
enabled |
private int |
id |
private java.lang.String |
name |
private long |
pollingPeriod |
private int |
retries |
private java.lang.String |
serialPort |
private int |
timeout |
private static org.apache.axis.description.TypeDesc |
typeDesc |
Constructor and Description |
---|
ModbusSerialConfig() |
ModbusSerialConfig(int id,
boolean enabled,
java.lang.String name,
long pollingPeriod,
boolean contiguousBatches,
boolean createSlaveMonitorPoints,
int timeout,
int retries,
java.lang.String serialPort,
int baudrate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getBaudrate()
Gets the baudrate value for this ModbusSerialConfig.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Deserializer
|
int |
getId()
Gets the id value for this ModbusSerialConfig.
|
java.lang.String |
getName()
Gets the name value for this ModbusSerialConfig.
|
long |
getPollingPeriod()
Gets the pollingPeriod value for this ModbusSerialConfig.
|
int |
getRetries()
Gets the retries value for this ModbusSerialConfig.
|
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Serializer
|
java.lang.String |
getSerialPort()
Gets the serialPort value for this ModbusSerialConfig.
|
int |
getTimeout()
Gets the timeout value for this ModbusSerialConfig.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
boolean |
isContiguousBatches()
Gets the contiguousBatches value for this ModbusSerialConfig.
|
boolean |
isCreateSlaveMonitorPoints()
Gets the createSlaveMonitorPoints value for this ModbusIPConfig.
|
boolean |
isEnabled()
Gets the enabled value for this ModbusSerialConfig.
|
void |
setBaudrate(int baudrate)
Sets the baudrate value for this ModbusSerialConfig.
|
void |
setContiguousBatches(boolean contiguousBatches)
Sets the contiguousBatches value for this ModbusSerialConfig.
|
void |
setCreateSlaveMonitorPoints(boolean createSlaveMonitorPoints)
Sets the createSlaveMonitorPoints value for this ModbusIPConfig.
|
void |
setEnabled(boolean enabled)
Sets the enabled value for this ModbusSerialConfig.
|
void |
setId(int id)
Sets the id value for this ModbusSerialConfig.
|
void |
setName(java.lang.String name)
Sets the name value for this ModbusSerialConfig.
|
void |
setPollingPeriod(long pollingPeriod)
Sets the pollingPeriod value for this ModbusSerialConfig.
|
void |
setRetries(int retries)
Sets the retries value for this ModbusSerialConfig.
|
void |
setSerialPort(java.lang.String serialPort)
Sets the serialPort value for this ModbusSerialConfig.
|
void |
setTimeout(int timeout)
Sets the timeout value for this ModbusSerialConfig.
|
private int id
private boolean enabled
private java.lang.String name
private long pollingPeriod
private boolean contiguousBatches
private boolean createSlaveMonitorPoints
private int timeout
private int retries
private java.lang.String serialPort
private int baudrate
private java.lang.Object __equalsCalc
private boolean __hashCodeCalc
private static org.apache.axis.description.TypeDesc typeDesc
public ModbusSerialConfig()
public ModbusSerialConfig(int id, boolean enabled, java.lang.String name, long pollingPeriod, boolean contiguousBatches, boolean createSlaveMonitorPoints, int timeout, int retries, java.lang.String serialPort, int baudrate)
public int getId()
public void setId(int id)
id
- public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public long getPollingPeriod()
public void setPollingPeriod(long pollingPeriod)
pollingPeriod
- public boolean isContiguousBatches()
public void setContiguousBatches(boolean contiguousBatches)
contiguousBatches
- public boolean isCreateSlaveMonitorPoints()
public void setCreateSlaveMonitorPoints(boolean createSlaveMonitorPoints)
createSlaveMonitorPoints
- public int getTimeout()
public void setTimeout(int timeout)
timeout
- public int getRetries()
public void setRetries(int retries)
retries
- public java.lang.String getSerialPort()
public void setSerialPort(java.lang.String serialPort)
serialPort
- public int getBaudrate()
public void setBaudrate(int baudrate)
baudrate
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)