Package modbustcp

Class ModbusData

java.lang.Object
modbustcp.ModbusData

public class ModbusData extends Object
  • Constructor Details

  • Method Details

    • getShortData

      public short[] getShortData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getRevFloatData

      public float[] getRevFloatData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getFloatData

      public float[] getFloatData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getCommandId

      public short getCommandId()
      Returns:
      the commandId
    • getProtocol

      public short getProtocol()
      Returns:
      the protocol
    • getLength

      public short getLength()
      Returns:
      the length
    • getUnitId

      public byte getUnitId()
      Returns:
      the unitId
    • getCommand

      public byte getCommand()
      Returns:
      the command
    • getDataBytes

      public byte getDataBytes()
      Returns:
      the dataBytes
    • toString

      public String toString()
      Overrides:
      toString in class Object