Download Vending Machine Software Assignment: Requirements and UML Diagrams and more Assignments Engineering in PDF only on Docsity! Assignment 1. Report 1 is due Sept. 18, Report 2 is due Oct. 7 CPE 684 Adv. Real-Time Systems, Fall 08 The following requirements are for vending machine software. The software will interact with a customer through several hardware devices such as coin detection or dollar bill identification hardware, a numeric pad, and a CRT display. It will also interact with a maintenance operator who will conduct a product database update. You are asked to analyze the requirements conduct OOAD and draw the UML diagrams needed. Submit a report on the requirements model and the analysis model based on documented Use Case diagram, system sequence diagrams for each use case, a domain model class diagram, and a State Chart for the Vending Machine Controller class. Then submit another report on OOD containing package/class diagram and design sequence diagrams. The first report is due September 18, and the second report is due October 7. Submit one report for each group (2- 3 students) in word document containing all UML diagrams and their textual description. REQUIREMENTS FOR A VENDING MACHINE CONTROL SYSTEM 1. The coin detection and dollar bills identification hardware will provide the software with the accumulated input payment in cents. 2. The software shall display the amount detected and prompt the user for a selection. 3. The software shall receive a product identification number through the numeric keypad and use it to check the product database. If a valid selection is not received within 30 seconds or a release-input button is pressed on the keypad, the accumulated money is given back to the customer through coin or dollar bill dispenser hardware. 4. The software shall check the availability of the product in the product database. If the product is not available, a prompt message is given to the user for making another selection. If the product is available, the product dispenser unit is activated and is supplied with the product identification number. A change is calculated and is dispensed back to the customer through the coin dispenser hardware. 5. The software shall provide for a product database update mode, in which input commands from a wireless keyboard are used to update the product database. A Keyboard active signal is used to activate this mode. In this case all other system functions dealing the other hardware devices are deactivated except the display, which shows an appropriate message to the maintenance operator.