public abstract class Dnp3DataSourceVO<T extends Dnp3DataSourceVO<?>> extends DataSourceVO<T>
DataSourceVO.Type
Modifier and Type | Field and Description |
---|---|
private static ExportCodes |
EVENT_CODES |
private boolean |
quantize |
private int |
rbePeriodType |
private int |
rbePollPeriods |
private int |
retries |
private static long |
serialVersionUID |
private int |
slaveAddress |
private int |
sourceAddress |
private int |
staticPollPeriods |
private int |
synchPeriods |
private int |
timeout |
private static int |
version |
XID_PREFIX
Constructor and Description |
---|
Dnp3DataSourceVO() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEventTypes(java.util.List<EventTypeVO> eventTypes) |
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() |
protected java.lang.Integer |
deserializePeriodType(com.serotonin.json.JsonObject json,
java.lang.String name) |
ExportCodes |
getEventCodes() |
int |
getRbePeriodType() |
int |
getRbePollPeriods() |
int |
getRetries() |
int |
getSlaveAddress() |
int |
getSourceAddress() |
int |
getStaticPollPeriods() |
int |
getSynchPeriods() |
int |
getTimeout() |
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) |
protected void |
serializePeriodType(java.util.Map<java.lang.String,java.lang.Object> map,
int updatePeriodType,
java.lang.String name) |
void |
setQuantize(boolean quantize) |
void |
setRbePeriodType(int rbePeriodType) |
void |
setRbePollPeriods(int rbePollPeriods) |
void |
setRetries(int retries) |
void |
setSlaveAddress(int slaveAddress) |
void |
setSourceAddress(int sourceAddress) |
void |
setStaticPollPeriods(int staticPollPeriods) |
void |
setSynchPeriods(int synchPeriods) |
void |
setTimeout(int timeout) |
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, setXid
private static final ExportCodes EVENT_CODES
private int synchPeriods
private int staticPollPeriods
private int rbePeriodType
private int rbePollPeriods
private boolean quantize
private int timeout
private int retries
private int sourceAddress
private int slaveAddress
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> eventTypes)
addEventTypes
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
public ExportCodes getEventCodes()
getEventCodes
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
public PointLocatorVO createPointLocator()
createPointLocator
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
public int getSynchPeriods()
public void setSynchPeriods(int synchPeriods)
public int getStaticPollPeriods()
public void setStaticPollPeriods(int staticPollPeriods)
public int getRbePeriodType()
public void setRbePeriodType(int rbePeriodType)
public int getRbePollPeriods()
public void setRbePollPeriods(int rbePollPeriods)
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 int getSourceAddress()
public void setSourceAddress(int sourceAddress)
public int getSlaveAddress()
public void setSlaveAddress(int slaveAddress)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list, T from)
addPropertyChangesImpl
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void jsonDeserialize(com.serotonin.json.JsonReader reader, com.serotonin.json.JsonObject json) throws com.serotonin.json.JsonException
jsonDeserialize
in interface com.serotonin.json.JsonSerializable
jsonDeserialize
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
com.serotonin.json.JsonException
public void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize
in interface com.serotonin.json.JsonSerializable
jsonSerialize
in class DataSourceVO<T extends Dnp3DataSourceVO<?>>
protected void serializePeriodType(java.util.Map<java.lang.String,java.lang.Object> map, int updatePeriodType, java.lang.String name)
protected java.lang.Integer deserializePeriodType(com.serotonin.json.JsonObject json, java.lang.String name) throws com.serotonin.json.JsonException
com.serotonin.json.JsonException