Class ModbusMachineCommand
java.lang.Object
test.de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusMachineCommand
Some Modbus machine command for testing.
- Author:
- Christian Nikolajew
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
keysToChange
-
valuesToWrite
-
-
Constructor Details
-
ModbusMachineCommand
public ModbusMachineCommand()Creates an instance.
-
-
Method Details
-
getKeyCount
public int getKeyCount()Get the amount of keys.- Returns:
- the number of keys to change
-
getKey
Getter for key.- Parameters:
index- of the key to return- Returns:
- the key at index
-
getValue
Getter for value.- Parameters:
index- of the value to return- Returns:
- value at index
-
set
Setter for key and value.- Parameters:
key- that's value should be changedvalue- that should be set for key
-