java.lang.Object
de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusVarItem

public class ModbusVarItem extends Object
This Class stores type an offset of a variable.
Author:
Christian Nikolajew
  • Field Details

    • type

      private String type
    • offset

      private int offset
  • Constructor Details

    • ModbusVarItem

      public ModbusVarItem()
  • Method Details

    • setType

      public void setType(String type)
      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

      public String 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