public abstract class ModbusDataSourceVO<T extends ModbusDataSourceVO<?>> extends DataSourceVO<T>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private boolean |
contiguousBatches |
private boolean |
createSlaveMonitorPoints |
private static ExportCodes |
EVENT_CODES |
private int |
maxReadBitCount |
private int |
maxReadRegisterCount |
private int |
maxWriteRegisterCount |
private boolean |
quantize |
private int |
retries |
private static long |
serialVersionUID |
private int |
timeout |
private int |
updatePeriods |
private int |
updatePeriodType |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
ModbusDataSourceVO() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEventTypes(java.util.List<EventTypeVO> ets) |
protected void |
addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
protected void |
addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
T from) |
PointLocatorVO |
createPointLocator() |
ExportCodes |
getEventCodes() |
int |
getMaxReadBitCount() |
int |
getMaxReadRegisterCount() |
int |
getMaxWriteRegisterCount() |
int |
getRetries() |
int |
getTimeout() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
boolean |
isContiguousBatches() |
boolean |
isCreateSlaveMonitorPoints() |
boolean |
isQuantize() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setContiguousBatches(boolean contiguousBatches) |
void |
setCreateSlaveMonitorPoints(boolean createSlaveMonitorPoints) |
void |
setMaxReadBitCount(int maxReadBitCount) |
void |
setMaxReadRegisterCount(int maxReadRegisterCount) |
void |
setMaxWriteRegisterCount(int maxWriteRegisterCount) |
void |
setQuantize(boolean quantize) |
void |
setRetries(int retries) |
void |
setTimeout(int timeout) |
void |
setUpdatePeriods(int updatePeriods) |
void |
setUpdatePeriodType(int updatePeriodType) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addProperties, addPropertyChanges, copy, createDataSourceRT, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getConnectionDescription, getEventType, getEventTypes, getId, getMessage, getName, getType, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXidprivate static final ExportCodes EVENT_CODES
private int updatePeriodType
private int updatePeriods
private boolean quantize
private int timeout
private int retries
private boolean contiguousBatches
private boolean createSlaveMonitorPoints
private int maxReadBitCount
private int maxReadRegisterCount
private int maxWriteRegisterCount
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<T extends ModbusDataSourceVO<?>>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<T extends ModbusDataSourceVO<?>>public PointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<T extends ModbusDataSourceVO<?>>public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public boolean isQuantize()
public void setQuantize(boolean quantize)
public int getTimeout()
public void setTimeout(int timeout)
public int getRetries()
public void setRetries(int retries)
public boolean isContiguousBatches()
public void setContiguousBatches(boolean contiguousBatches)
public boolean isCreateSlaveMonitorPoints()
public void setCreateSlaveMonitorPoints(boolean createSlaveMonitorPoints)
public int getMaxReadBitCount()
public void setMaxReadBitCount(int maxReadBitCount)
public int getMaxReadRegisterCount()
public void setMaxReadRegisterCount(int maxReadRegisterCount)
public int getMaxWriteRegisterCount()
public void setMaxWriteRegisterCount(int maxWriteRegisterCount)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<T extends ModbusDataSourceVO<?>>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<T extends ModbusDataSourceVO<?>>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
T from)
addPropertyChangesImpl in class DataSourceVO<T extends ModbusDataSourceVO<?>>private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class DataSourceVO<T extends ModbusDataSourceVO<?>>com.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class DataSourceVO<T extends ModbusDataSourceVO<?>>