public class HoldingChannel extends Channel
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_READ |
static int |
MAX_WRITE |
locator, TYPE_COIL, TYPE_DISCRETE, TYPE_HOLDING, TYPE_INPUT| Constructor and Description |
|---|
HoldingChannel(org.ogema.core.channelmanager.driverspi.ChannelLocator locator,
String[] splitAddress) |
| Modifier and Type | Method and Description |
|---|---|
org.ogema.core.channelmanager.measurements.SampledValue |
readValue(Connection connection) |
void |
writeValue(Connection connection,
org.ogema.core.channelmanager.measurements.Value value) |
createChannel, getChannelLocatorpublic static final int MAX_READ
public static final int MAX_WRITE
public HoldingChannel(org.ogema.core.channelmanager.driverspi.ChannelLocator locator,
String[] splitAddress)
public org.ogema.core.channelmanager.measurements.SampledValue readValue(Connection connection) throws IOException
readValue in class ChannelIOExceptionpublic void writeValue(Connection connection, org.ogema.core.channelmanager.measurements.Value value) throws IOException
writeValue in class ChannelIOExceptionCopyright © 2018. All rights reserved.