public class HttpImagePointLocatorVO extends AbstractPointLocatorVO implements com.serotonin.json.JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
private int |
readLimit |
private int |
retries |
static int |
SCALE_TYPE_BOX |
private static ExportCodes |
SCALE_TYPE_CODES |
static int |
SCALE_TYPE_NONE |
static int |
SCALE_TYPE_PERCENT |
private int |
scaleHeight |
private int |
scalePercent |
private int |
scaleType |
private int |
scaleWidth |
private static long |
serialVersionUID |
private int |
timeoutSeconds |
private java.lang.String |
url |
private static int |
version |
private java.lang.String |
webcamLiveFeedCode |
| Constructor and Description |
|---|
HttpImagePointLocatorVO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
void |
addPropertyChanges(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
java.lang.Object o) |
PointLocatorRT |
createRuntime()
Create a runtime version of the locator
|
com.serotonin.web.i18n.LocalizableMessage |
getConfigurationDescription()
An arbitrary description of the point location configuration for human consumption.
|
int |
getDataTypeId()
One of the com.serotonin.mango.DataTypes
|
int |
getReadLimit() |
int |
getRetries() |
int |
getScaleHeight() |
int |
getScalePercent() |
int |
getScaleType() |
int |
getScaleWidth() |
int |
getTimeoutSeconds() |
java.lang.String |
getUrl() |
java.lang.String |
getWebcamLiveFeedCode() |
boolean |
isSettable()
Can the value be set in the data source?
|
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 |
setReadLimit(int readLimit) |
void |
setRetries(int retries) |
void |
setScaleHeight(int scaleHeight) |
void |
setScalePercent(int scalePercent) |
void |
setScaleType(int scaleType) |
void |
setScaleWidth(int scaleWidth) |
void |
setTimeoutSeconds(int timeoutSeconds) |
void |
setUrl(java.lang.String url) |
void |
setWebcamLiveFeedCode(java.lang.String webcamLiveFeedCode) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response)
Validate.
|
private void |
writeObject(java.io.ObjectOutputStream out) |
deserializeDataType, getDataPointSaveHandler, getDataTypeMessage, getMessage, isRelinquishable, serializeDataTypepublic static final int SCALE_TYPE_NONE
public static final int SCALE_TYPE_PERCENT
public static final int SCALE_TYPE_BOX
private static final ExportCodes SCALE_TYPE_CODES
private java.lang.String url
private int timeoutSeconds
private int retries
private int scaleType
private int scalePercent
private int scaleWidth
private int scaleHeight
private int readLimit
private java.lang.String webcamLiveFeedCode
private static final long serialVersionUID
private static final int version
public boolean isSettable()
PointLocatorVOisSettable in interface PointLocatorVOpublic PointLocatorRT createRuntime()
PointLocatorVOcreateRuntime in interface PointLocatorVOpublic com.serotonin.web.i18n.LocalizableMessage getConfigurationDescription()
PointLocatorVOgetConfigurationDescription in interface PointLocatorVOpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
public int getTimeoutSeconds()
public void setTimeoutSeconds(int timeoutSeconds)
public int getRetries()
public void setRetries(int retries)
public int getScaleType()
public void setScaleType(int scaleType)
public int getScalePercent()
public void setScalePercent(int scalePercent)
public int getScaleWidth()
public void setScaleWidth(int scaleWidth)
public int getScaleHeight()
public void setScaleHeight(int scaleHeight)
public int getReadLimit()
public void setReadLimit(int readLimit)
public java.lang.String getWebcamLiveFeedCode()
public void setWebcamLiveFeedCode(java.lang.String webcamLiveFeedCode)
public int getDataTypeId()
PointLocatorVOgetDataTypeId in interface PointLocatorVOpublic void validate(com.serotonin.web.dwr.DwrResponseI18n response)
PointLocatorVOvalidate in interface PointLocatorVOpublic void addProperties(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addProperties in interface ChangeComparableObjectpublic void addPropertyChanges(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
java.lang.Object o)
addPropertyChanges in interface ChangeComparableObjectprivate 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.JsonSerializablecom.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializable