
package uk.co.wingpath.modbus;

public interface ModbusFiles
{
    /**
    * Gets the registers of the specified file.
    * @param fileNum number of the file.
    * @return the registers of the file.
    * @throws ModbusException if there are no registers in the specified file.
    * This exception does not need a help ID or message as it is always
    * caught within the modbus package.
    */
    ModbusRegisters getRegisters (int fileNum)
        throws ModbusException;

    /**
    * Gets the big-value flags.
    * @return the big-value flags.
    */
    BigValueFlags getBigValueFlags ();
}

