类 RtuMaster


public class RtuMaster extends SerialMaster

RtuMaster class.

  • 构造器详细资料

    • RtuMaster

      public RtuMaster(SerialPortWrapper wrapper)

      Constructor for RtuMaster.

      Default to validating the slave id in responses
      参数:
      wrapper - a SerialPortWrapper object.
    • RtuMaster

      public RtuMaster(SerialPortWrapper wrapper, boolean validateResponse)

      Constructor for RtuMaster.

      参数:
      wrapper - a SerialPortWrapper object.
      validateResponse - - confirm that requested slave id is the same in the response
  • 方法详细资料