public class ModbusReadTask extends ModbusTask
count, dataType, factor, functionCode, host, logger, offset, pattern, registerType, resource, startAddress, unitId| Constructor and Description |
|---|
ModbusReadTask(ModbusPattern pattern,
org.ogema.core.model.ValueResource resource,
org.ogema.core.application.ApplicationManager appManager,
Map<InetSocketAddress,ScheduledExecutorService> executors,
Map<InetSocketAddress,Connection> connections) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
ExecutorService |
getExecutor() |
org.ogema.core.channelmanager.measurements.Value |
readChannel() |
String |
toString() |
getCount, getDataType, getFactor, getFunctionCode, getHost, getLogger, getOffset, getPattern, getResource, getStartAddress, getUnitId, setCount, setDataType, setFactor, setFunctionCode, setHost, setLogger, setOffset, setPattern, setResource, setStartAddress, setUnitIdpublic ModbusReadTask(ModbusPattern pattern, org.ogema.core.model.ValueResource resource, org.ogema.core.application.ApplicationManager appManager, Map<InetSocketAddress,ScheduledExecutorService> executors, Map<InetSocketAddress,Connection> connections) throws Exception
Exceptionpublic void destroy()
destroy in class ModbusTaskpublic org.ogema.core.channelmanager.measurements.Value readChannel()
throws Exception
Exceptionpublic ExecutorService getExecutor()
public String toString()
toString in class ModbusTaskCopyright © 2018. All rights reserved.