public void queryPortStatesAll(PortModelEnum portModel, int portTypeMask, int rangeFrom, int rangeTo) throws ProtocolException { LOGGER .info("Query the output state for all ports ,portTypeMask: {}, rangeFrom: {}, rangeTo: {}", portTypeMask, rangeFrom, rangeTo); BidibCommand command = requestFactory.createPortQueryAll(portTypeMask, rangeFrom, rangeTo); sendNoWait(command); }