Class ModbusVarItem
java.lang.Object
de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusVarItem
This Class stores type an offset of a variable.
- Author:
- Christian Nikolajew
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
offset
private int offset
-
-
Constructor Details
-
ModbusVarItem
public ModbusVarItem()
-
-
Method Details
-
setType
Setter for type.- Parameters:
type- the type to set
-
setOffset
public void setOffset(int offset) Setter for offset.- Parameters:
offset- the offset to set
-
getType
Getter for type.- Returns:
- the type
-
getOffset
public int getOffset()Getter for offset.- Returns:
- the offset
-
getTypeRegisterSize
public int getTypeRegisterSize()Returs the count of registers needed to store this type.- Returns:
- the count of registers needed to store this type
-