public class Dnp3SerialDataSourceVO extends Dnp3DataSourceVO<Dnp3SerialDataSourceVO>
DataSourceVO.Type
Modifier and Type | Field and Description |
---|---|
private int |
baudRate |
private java.lang.String |
commPortId |
private int |
dataBits |
private boolean |
echo |
private int |
parity |
private static long |
serialVersionUID |
private int |
stopBits |
static DataSourceVO.Type |
TYPE |
private static int |
version |
XID_PREFIX
Constructor and Description |
---|
Dnp3SerialDataSourceVO() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
protected void |
addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
Dnp3SerialDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
int |
getBaudRate() |
java.lang.String |
getCommPortId() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
int |
getDataBits() |
int |
getParity() |
int |
getStopBits() |
DataSourceVO.Type |
getType() |
boolean |
isEcho() |
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 |
setBaudRate(int baudRate) |
void |
setCommPortId(java.lang.String commPortId) |
void |
setDataBits(int dataBits) |
void |
setEcho(boolean echo) |
void |
setParity(int parity) |
void |
setStopBits(int stopBits) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addEventTypes, createPointLocator, deserializePeriodType, getEventCodes, getRbePeriodType, getRbePollPeriods, getRetries, getSlaveAddress, getSourceAddress, getStaticPollPeriods, getSynchPeriods, getTimeout, isQuantize, serializePeriodType, setQuantize, setRbePeriodType, setRbePollPeriods, setRetries, setSlaveAddress, setSourceAddress, setStaticPollPeriods, setSynchPeriods, setTimeout
addProperties, addPropertyChanges, copy, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getEventType, getEventTypes, getId, getMessage, getName, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXid
public static final DataSourceVO.Type TYPE
private java.lang.String commPortId
private int baudRate
private int dataBits
private int stopBits
private int parity
private boolean echo
private static final long serialVersionUID
private static final int version
public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription
in class DataSourceVO<Dnp3SerialDataSourceVO>
public DataSourceVO.Type getType()
getType
in class DataSourceVO<Dnp3SerialDataSourceVO>
public DataSourceRT createDataSourceRT()
createDataSourceRT
in class DataSourceVO<Dnp3SerialDataSourceVO>
public java.lang.String getCommPortId()
public void setCommPortId(java.lang.String commPortId)
commPortId
- the commPortId to setpublic int getBaudRate()
public void setBaudRate(int baudRate)
baudRate
- the baudRate to setpublic int getDataBits()
public void setDataBits(int dataBits)
dataBits
- the dataBits to setpublic int getStopBits()
public void setStopBits(int stopBits)
stopBits
- the stopBits to setpublic int getParity()
public void setParity(int parity)
parity
- the parity to setpublic boolean isEcho()
public void setEcho(boolean echo)
echo
- the echo to setpublic void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate
in class Dnp3DataSourceVO<Dnp3SerialDataSourceVO>
protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl
in class Dnp3DataSourceVO<Dnp3SerialDataSourceVO>
protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list, Dnp3SerialDataSourceVO from)
addPropertyChangesImpl
in class Dnp3DataSourceVO<Dnp3SerialDataSourceVO>
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 Dnp3DataSourceVO<Dnp3SerialDataSourceVO>
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 Dnp3DataSourceVO<Dnp3SerialDataSourceVO>