Package | Description |
---|---|
com.esf.protocol.fielddevice.service |
Defines an interface for a device that uses a communication protocol to
acquire operational data, including methods for handling data of various
data types, connection status, protocol exceptions, etc.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
ProtocolDevice.getDataType(int dataAddress)
get the primitive data type for the selected address.
|
abstract int |
ProtocolDevice.getEndOfRange(int dataAddress)
gets the last address in a contiguous block of the same type data.
|
abstract int |
ProtocolDevice.getStartOfRange(int dataAddress)
gets the first address in a contiguous block of the same type data.
|
boolean[] |
ProtocolDevice.readBooleans(int dataAddress,
int count)
read 1 or more boolean points from the attached field device.
|
byte[] |
ProtocolDevice.readBytes(int dataAddress,
int count)
read 1 or more byte points from the attached field device.
|
char[] |
ProtocolDevice.readChars(int dataAddress,
int count)
read 1 or more char points from the attached field device.
|
double[] |
ProtocolDevice.readDoubles(int dataAddress,
int count)
read 1 or more double points from the attached field device.
|
float[] |
ProtocolDevice.readFloats(int dataAddress,
int count)
read 1 or more float points from the attached field device.
|
int[] |
ProtocolDevice.readInts(int dataAddress,
int count)
read 1 or more int points from the attached field device.
|
long[] |
ProtocolDevice.readLongs(int dataAddress,
int count)
read 1 or more long points from the attached field device.
|
java.lang.Object |
ProtocolDevice.readObject(int dataAddress)
read a single object from the address.
|
short[] |
ProtocolDevice.readShorts(int dataAddress,
int count)
read 1 or more short points from the attached field device.
|
long[] |
ProtocolDevice.readUnsignedInts(int dataAddress,
int count)
read 1 or more unsigned int points from the attached field device.
|
int[] |
ProtocolDevice.readUnsignedShorts(int dataAddress,
int count)
read 1 or more unsigned short points from the attached field device.
|
void |
ProtocolDevice.writeBooleans(int dataAddress,
boolean[] data)
write 1 or more boolean values to the attached field device.
|
void |
ProtocolDevice.writeBytes(int dataAddress,
byte[] data)
write 1 or more byte values to the attached field device.
|
void |
ProtocolDevice.writeChars(int dataAddress,
char[] data)
write 1 or more char values to the attached field device.
|
void |
ProtocolDevice.writeDoubles(int dataAddress,
double[] data)
write 1 or more double values to the attached field device.
|
void |
ProtocolDevice.writeFloats(int dataAddress,
float[] data)
write 1 or more float values to the attached field device.
|
void |
ProtocolDevice.writeInts(int dataAddress,
int[] data)
write 1 or more int values to the attached field device.
|
void |
ProtocolDevice.writeLongs(int dataAddress,
long[] data)
write 1 or more long values to the attached field device.
|
void |
ProtocolDevice.writeObject(int dataAddress,
java.lang.Object data)
write a single object to the address.
|
void |
ProtocolDevice.writeShorts(int dataAddress,
short[] data)
write 1 or more short values to the attached field device.
|
void |
ProtocolDevice.writeUnsignedInts(int dataAddress,
long[] data)
write 1 or more unsigned int values to the attached field device.
|
void |
ProtocolDevice.writeUnsignedShorts(int dataAddress,
int[] data)
write 1 or more unsigned short values to the attached field device.
|
Copyright © 2009 Eurotech Inc. All rights reserved.