/** * Constructor * * @param agv agv that does the request * @param getRequest true = get request, false = set request */ public StoredContainerRequest(Agv agv, boolean getRequest) { this._agv = agv; this._getRequest = getRequest; this._container = agv.getContainer(); if (getRequest) { System.out.println("A GET REQUESTS NEEDS A ROW"); } }
/** * Alternative constructor * * @param agv agv that does the request * @param getRequest true = get request, false = set request * @param strip the strip of the container in storage */ public StoredContainerRequest(Agv agv, boolean getRequest, int strip) { this._agv = agv; this._getRequest = getRequest; this._strip = strip; this._container = agv.getContainer(); }