Package net.wimpi.modbus.util

Examples of net.wimpi.modbus.util.BitVector


   * <b>
   * @param count the number of bits to be read.
   */
  public ReadCoilsResponse(int count) {
    super();
    m_Coils = new BitVector(count);
    setFunctionCode(Modbus.READ_COILS);
    setDataLength(m_Coils.byteSize() + 1);
  }//constructor(int)
View Full Code Here


   */
  public WriteMultipleCoilsRequest(int ref, int count) {
    super();
    setFunctionCode(Modbus.WRITE_MULTIPLE_COILS);
    setReference(ref);
    m_Coils = new BitVector(count);
    setDataLength(m_Coils.byteSize() + 5);
  }//constructor
View Full Code Here

TOP

Related Classes of net.wimpi.modbus.util.BitVector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.