This Function shall be capable of providing the following facilities:<br/><br/>(1) The ability to receive and store locally the results of rest area use requests made by Freight Vehicle Drivers using other functionality.<br/>(2) The ability to use the results of rest area use requests to enable Freight Vehicle Drivers to request that they book parking spaces in these rest areas and to seek confirmation from the Parking Operator through other functionality.<br/>(3) Once the Parking Operator confirms the requested booking, the ability to send this confirmation to the Freight Vehicle Driver together with details of the space that has been booked.<br/>(4) The ability to reject a previously confirmed rest area parking space booking if the ETA of the Freight Vehicle has changed from its previous time and spaces are no longer available at the new ETA.<br/>(5) The ability to remove a booking for a parking space once the Freight Vehicle that booked it has left the res area, thus making the space available for use by other Freight Vehicles.<br/>(6) The ability to respond to the request for the booking of a parking space for inclusion in a Hazardous Goods Vehicle trip plan, again subject to confirmation by the Parking Operator using other functionality.<br/>
(a) continuously monitor for receipt of the following:<br/><ol> <li>the rest area parking request data flow from the Manage Hazardous Goods Vehicle Route Creation function,</li><li>the rest area details for booking data flow from the Manage Rest Area Usage function,</li><li>the rest area booking request data flow from the Book Suitable Rest Areas Places function,</li><li>the rest area eta data flow from the Monitor Vehicle Trip Plan function and </li><li>the freight vehicle left rest area data flow from the Monitor Vehicle Trip Plan function;</li></ol> (b) when data flow (1) in (a) is received, internally store its contents and output them in the confirm rest area request data flow to the Provide Operator Interface to Manage Service Areas function;<br/>(c) as a result of (b) continuously monitor for receipt of the rest area request confirmation response data flow from the Provide Operator Interface to Manage Service Areas function;<br/>(d) when the data flow in (c) is received, check its contents and if it contains a confirmation then output this in the rest area space response data flow to the Manage Hazardous Goods Vehicle Route Creation function and then return to (a);<br/>(e) if the contents of the data flow in (d) contain a rejection, delete the data stored in (b), output the rejection in the rest area space response data flow to the Manage Hazardous Goods Vehicle Route Creation function and then return to (a);<br/>(f) when the data flow (2) in (a) is received, store its contents for later use if and when a request is received to book a space at any of the rest areas identified in it and then return to (a);<br/>(g) when the data flow (3) in (a) is received, retrieve the data about the rest area(s) stored in (f) and send them in the confirm rest area request data flow to the Provide Operator Interface to Manage Service Areas function;<br/>(h) as a result of (g) continuously monitor for receipt of the rest area request confirmation response data flow from the Provide Operator Interface to Manage Service Areas function;<br/>(i) when the data flow in (h) is received, check its contents and if it contains a confirmation then store locally the booking of a space in the rest area during a particular time period;<br/>(j) when (i) is complete output the details of the booking in the rest area booking response data flow to the Manage Rest Area Usage function;<br/>(k) if the contents of the data flow in (h) contain a rejection, delete the data stored in (f), output the rejection in the rest area booking response data flow to the Manage Rest Area Usage function and then return to (a);<br/>(l) when the data flow (4) in (a) is received, check the ETA against that included in the booking confirmed in (g) to (i) above;<br/>(m if the check in (l) finds that the ETA is compatible with the booking, send confirmation to the Monitor Vehicle Trip Plan function in the rest area booking confirmed & information data flow and then return to (a);<br/>(n) if the check in (l) finds that the ETA is not compatible with the booking, send a rejection to the Book Suitable Rest Areas Places function in the rest area unavailable for new eta data flow and then return to (a);<br/>(o) when the data flow (5) in (a) is received, remove the booking stored in (i) above so that the space becomes available and then return to (a).<br/>