文件名称:VendingMc
介绍说明--下载内容均来自于网络,请自行研究使用
这个项目用C++设计了一个自动贩卖机的基础应用:
主要类包含:
投币,产品,货架,按钮, 出货口和显示屏.
主类售货机类包含其各种关系. 详见包内PDF-Principals of Operation
You can imagine the external interface of the vending machine including a product display area allowing customers to see the available products, a status panel that displays messages when users take actions (e.g. to tell the user she must insert more money if not enough money has been inserted for a purchase), a coin slot for inserting money, a set of buttons for selecting a product to purchase, and a delivery chute from which customers may retrieve a purchased product.
Internally the vending machine contains a set of product racks. Each product rack holds a set of products all of the same type.
Two types of individuals may use a vending machine, a customer and a service professional. The customer can insert coins into the vending machine, press buttons to purchase products (sodas), and retrieve products from the vending machine’s delivery chute one at a time. The service professional can add products to the vending machine, request the number of products of
主要类包含:
投币,产品,货架,按钮, 出货口和显示屏.
主类售货机类包含其各种关系. 详见包内PDF-Principals of Operation
You can imagine the external interface of the vending machine including a product display area allowing customers to see the available products, a status panel that displays messages when users take actions (e.g. to tell the user she must insert more money if not enough money has been inserted for a purchase), a coin slot for inserting money, a set of buttons for selecting a product to purchase, and a delivery chute from which customers may retrieve a purchased product.
Internally the vending machine contains a set of product racks. Each product rack holds a set of products all of the same type.
Two types of individuals may use a vending machine, a customer and a service professional. The customer can insert coins into the vending machine, press buttons to purchase products (sodas), and retrieve products from the vending machine’s delivery chute one at a time. The service professional can add products to the vending machine, request the number of products of
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Coin.cpp
__MACOSX
........\._Coin.cpp
Coin.h
__MACOSX\._Coin.h
DeliveryChute.cpp
__MACOSX\._DeliveryChute.cpp
DeliveryChute.h
__MACOSX\._DeliveryChute.h
main.cpp
__MACOSX\._main.cpp
Product.cpp
__MACOSX\._Product.cpp
Product.h
__MACOSX\._Product.h
ProductButton.cpp
__MACOSX\._ProductButton.cpp
ProductButton.h
__MACOSX\._ProductButton.h
ProductRack.cpp
__MACOSX\._ProductRack.cpp
ProductRack.h
__MACOSX\._ProductRack.h
project1.pdf
__MACOSX\._project1.pdf
StatusPanel.cpp
__MACOSX\._StatusPanel.cpp
StatusPanel.h
__MACOSX\._StatusPanel.h
TestFramework.cpp
__MACOSX\._TestFramework.cpp
TestFramework.h
__MACOSX\._TestFramework.h
UnitTest.cpp
__MACOSX\._UnitTest.cpp
UnitTest.h
__MACOSX\._UnitTest.h
VendingMachine.cpp
__MACOSX\._VendingMachine.cpp
VendingMachine.h
__MACOSX\._VendingMachine.h