public class EBI25PointLocatorVO extends AbstractPointLocatorVO implements com.serotonin.json.JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
calibrationDate |
private java.lang.String |
firmwareVersion |
private java.lang.String |
hardwareVersion |
private double |
highLimit |
private int |
index |
private double |
lowLimit |
private java.lang.String |
productionDate |
private int |
sampleRate |
private java.lang.String |
serialNumber |
private static long |
serialVersionUID |
private int |
type |
static int |
TYPE_BATTERY |
private static ExportCodes |
TYPE_CODES |
static int |
TYPE_SIGNAL |
static int |
TYPE_VALUE |
private int |
unit |
private static int |
version |
| Constructor and Description |
|---|
EBI25PointLocatorVO() |
| 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
|
java.lang.String |
getCalibrationDate() |
com.serotonin.web.i18n.LocalizableMessage |
getConfigurationDescription()
An arbitrary description of the point location configuration for human consumption.
|
DataPointSaveHandler |
getDataPointSaveHandler()
Defaults to returning null.
|
int |
getDataTypeId()
One of the com.serotonin.mango.DataTypes
|
java.lang.String |
getFirmwareVersion() |
java.lang.String |
getHardwareVersion() |
double |
getHighLimit() |
int |
getIndex() |
double |
getLowLimit() |
com.serotonin.web.i18n.LocalizableMessage |
getPrettyType() |
com.serotonin.web.i18n.LocalizableMessage |
getPrettyUnit() |
java.lang.String |
getProductionDate() |
int |
getSampleRate() |
java.lang.String |
getSerialNumber() |
java.lang.String |
getSuffix() |
int |
getType() |
int |
getUnit() |
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 |
setCalibrationDate(java.lang.String calibrationDate) |
void |
setFirmwareVersion(java.lang.String firmwareVersion) |
void |
setHardwareVersion(java.lang.String hardwareVersion) |
void |
setHighLimit(double highLimit) |
void |
setIndex(int index) |
void |
setLowLimit(double lowLimit) |
void |
setProductionDate(java.lang.String productionDate) |
void |
setSampleRate(int sampleRate) |
void |
setSerialNumber(java.lang.String serialNumber) |
void |
setType(int type) |
void |
setUnit(int unit) |
double |
translateFromRawValue(int rawValue) |
int |
translateToRawValue(double value) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response)
Validate.
|
private void |
writeObject(java.io.ObjectOutputStream out) |
deserializeDataType, getDataTypeMessage, getMessage, isRelinquishable, serializeDataTypepublic static final int TYPE_VALUE
public static final int TYPE_BATTERY
public static final int TYPE_SIGNAL
private static final ExportCodes TYPE_CODES
private int index
private int type
private java.lang.String serialNumber
private java.lang.String productionDate
private java.lang.String calibrationDate
private java.lang.String hardwareVersion
private java.lang.String firmwareVersion
private int unit
private int sampleRate
private double lowLimit
private double highLimit
private static final long serialVersionUID
private static final int version
public PointLocatorRT createRuntime()
PointLocatorVOcreateRuntime in interface PointLocatorVOpublic int getDataTypeId()
PointLocatorVOgetDataTypeId in interface PointLocatorVOpublic boolean isSettable()
PointLocatorVOisSettable in interface PointLocatorVOpublic com.serotonin.web.i18n.LocalizableMessage getConfigurationDescription()
PointLocatorVOgetConfigurationDescription in interface PointLocatorVOpublic int getIndex()
public void setIndex(int index)
public int getType()
public void setType(int type)
public java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String serialNumber)
public java.lang.String getProductionDate()
public void setProductionDate(java.lang.String productionDate)
public java.lang.String getCalibrationDate()
public void setCalibrationDate(java.lang.String calibrationDate)
public java.lang.String getHardwareVersion()
public void setHardwareVersion(java.lang.String hardwareVersion)
public java.lang.String getFirmwareVersion()
public void setFirmwareVersion(java.lang.String firmwareVersion)
public int getUnit()
public void setUnit(int unit)
public int getSampleRate()
public void setSampleRate(int sampleRate)
public double getLowLimit()
public void setLowLimit(double lowLimit)
public double getHighLimit()
public void setHighLimit(double highLimit)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
PointLocatorVOvalidate in interface PointLocatorVOpublic DataPointSaveHandler getDataPointSaveHandler()
AbstractPointLocatorVOgetDataPointSaveHandler in interface PointLocatorVOgetDataPointSaveHandler in class AbstractPointLocatorVOpublic double translateFromRawValue(int rawValue)
public int translateToRawValue(double value)
public java.lang.String getSuffix()
public com.serotonin.web.i18n.LocalizableMessage getPrettyType()
public com.serotonin.web.i18n.LocalizableMessage getPrettyUnit()
public 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