public class MetaDataSourceRT extends DataSourceRT
Modifier and Type | Field and Description |
---|---|
private boolean |
contextPointDisabledEventActive |
static int |
EVENT_TYPE_CONTEXT_POINT_DISABLED |
static int |
EVENT_TYPE_RESULT_TYPE_ERROR |
static int |
EVENT_TYPE_SCRIPT_ERROR |
private java.util.List<DataPointRT> |
points |
addedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints
Constructor and Description |
---|
MetaDataSourceRT(MetaDataSourceVO vo) |
Modifier and Type | Method and Description |
---|---|
void |
addDataPoint(DataPointRT dataPoint) |
(package private) void |
checkForDisabledPoints() |
void |
raiseResultTypeError(long runtime,
DataPointRT dataPoint,
com.serotonin.web.i18n.LocalizableMessage message) |
void |
raiseScriptError(long runtime,
DataPointRT dataPoint,
com.serotonin.web.i18n.LocalizableMessage message) |
private void |
remove(DataPointRT dataPoint) |
void |
removeDataPoint(DataPointRT dataPoint) |
void |
setPointValue(DataPointRT dataPoint,
PointValueTime valueTime,
SetPointSource source) |
beginPolling, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, joinTermination, raiseEvent, relinquish, returnToNormal, setPersistentData, terminate
public static final int EVENT_TYPE_CONTEXT_POINT_DISABLED
public static final int EVENT_TYPE_SCRIPT_ERROR
public static final int EVENT_TYPE_RESULT_TYPE_ERROR
private final java.util.List<DataPointRT> points
private boolean contextPointDisabledEventActive
public MetaDataSourceRT(MetaDataSourceVO vo)
public void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue
in class DataSourceRT
public void addDataPoint(DataPointRT dataPoint)
addDataPoint
in class DataSourceRT
public void removeDataPoint(DataPointRT dataPoint)
removeDataPoint
in class DataSourceRT
private void remove(DataPointRT dataPoint)
void checkForDisabledPoints()
public void raiseScriptError(long runtime, DataPointRT dataPoint, com.serotonin.web.i18n.LocalizableMessage message)
public void raiseResultTypeError(long runtime, DataPointRT dataPoint, com.serotonin.web.i18n.LocalizableMessage message)