public class OneWireDataSourceVO extends DataSourceVO<OneWireDataSourceVO>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
commPortId |
private static ExportCodes |
EVENT_CODES |
static int |
RESCAN_NONE |
static java.lang.String |
RESCAN_NONE_TEXT |
private int |
rescanPeriods |
private int |
rescanPeriodType |
private static long |
serialVersionUID |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
OneWireDataSourceVO() |
| 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,
OneWireDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
OneWirePointLocatorVO |
createPointLocator() |
java.lang.String |
getCommPortId() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
ExportCodes |
getEventCodes() |
int |
getRescanPeriods() |
int |
getRescanPeriodType() |
DataSourceVO.Type |
getType() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
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 |
setCommPortId(java.lang.String commPortId) |
void |
setRescanPeriods(int rescanPeriods) |
void |
setRescanPeriodType(int rescanPeriodType) |
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, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getEventType, getEventTypes, getId, getMessage, getName, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXidpublic static final DataSourceVO.Type TYPE
public static final int RESCAN_NONE
public static final java.lang.String RESCAN_NONE_TEXT
private static final ExportCodes EVENT_CODES
private java.lang.String commPortId
private int updatePeriodType
private int updatePeriods
private int rescanPeriodType
private int rescanPeriods
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<OneWireDataSourceVO>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<OneWireDataSourceVO>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<OneWireDataSourceVO>public DataSourceVO.Type getType()
getType in class DataSourceVO<OneWireDataSourceVO>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<OneWireDataSourceVO>public OneWirePointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<OneWireDataSourceVO>public java.lang.String getCommPortId()
public void setCommPortId(java.lang.String commPortId)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public int getRescanPeriodType()
public void setRescanPeriodType(int rescanPeriodType)
public int getRescanPeriods()
public void setRescanPeriods(int rescanPeriods)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<OneWireDataSourceVO>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<OneWireDataSourceVO>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
OneWireDataSourceVO from)
addPropertyChangesImpl in class DataSourceVO<OneWireDataSourceVO>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<OneWireDataSourceVO>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<OneWireDataSourceVO>