public class IEC101DataSource extends PollingDataSource
Modifier and Type | Field and Description |
---|---|
static int |
DATA_SOURCE_EXCEPTION_EVENT |
private IEC101Master |
iec101Master |
private org.apache.commons.logging.Log |
LOG |
static int |
POINT_READ_EXCEPTION_EVENT |
static int |
POINT_WRITE_EXCEPTION_EVENT |
private IEC101DataSourceVO<?> |
vo |
dataPoints, pointListChanged
addedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints
Constructor and Description |
---|
IEC101DataSource(IEC101DataSourceVO<?> vo) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPoll(long time) |
protected void |
initialize(IEC101Master iec101Master) |
private boolean |
parseDoubleToBoolean(java.lang.String doubleValue) |
void |
setPointValue(DataPointRT dataPoint,
PointValueTime valueTime,
SetPointSource source) |
void |
terminate() |
beginPolling, joinTermination, scheduleTimeout, setPollingPeriod, updateChangedPoints
addDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, raiseEvent, relinquish, removeDataPoint, returnToNormal, setPersistentData
private final org.apache.commons.logging.Log LOG
public static final int POINT_READ_EXCEPTION_EVENT
public static final int POINT_WRITE_EXCEPTION_EVENT
public static final int DATA_SOURCE_EXCEPTION_EVENT
private IEC101Master iec101Master
private final IEC101DataSourceVO<?> vo
public IEC101DataSource(IEC101DataSourceVO<?> vo)
protected void doPoll(long time)
doPoll
in class PollingDataSource
public void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue
in class DataSourceRT
private boolean parseDoubleToBoolean(java.lang.String doubleValue) throws java.lang.Exception
java.lang.Exception
protected void initialize(IEC101Master iec101Master)
public void terminate()
terminate
in interface com.serotonin.util.ILifecycle
terminate
in class PollingDataSource