# Vending Machine (Lite Snacks)
This is a Vending Machine (Lite Snacks) Software developed by R18B_Group2. The project
is written in Java and adheres to the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html).
## Requirement
This project requires `Java 11.0.8` or above and `Gradle 5.6.1` or above.
## Run
Run compiled code with `java -jar VendingMachine.jar`
Run source code with `gradle run`.
Run built-in tests, use `gradle build` or `gradle test`.
### Log in
If you have an account, type in the Username and Password and click on `Login` to log in to the system.
If you don't have previous account, you can either choose `Register` or `Guest Login`.
`Guest Login` lets the user log in as an anonymous customer.
### Register
Enter the user name and the password to create a new account.
The user name must be unique.
## User Type
There are 4 types of user with different interfaces and functionalities.
* Customer: Shopping.
* Seller: Fill/Modify the commodity details.
* Cashier: Fill/Modify the money.
* Owner: Add/Remove Seller or Cashier Or Owner users. Fill/Modify the commodity details. Fill/Modify the money.
## Customer
### Main Panel
After logging in, a reminder box will show the recent purchase for old customers. Then you will see the main panel. All the commodities are listed below the
`Commodity Details`. You can click on a different category to filter the commodity. There are
4 categories: Drinks, Chocolate, Lollies and Chips.
To add a commodity to your shopping cart, double-click on the number of `Quantity` column then
enter the quantity you want. After entering, press key `Enter` to save the input. Finally, press
button `ADD TO CART` to add the commodity to the cart.
### Shopping Cart
To check your shopping cart, click on the label `Shopping Cart` in the top left corner of
the window. Then you will see all the commodities in your shopping cart line by line. To remove
a commodity from your shopping cart, press the button `Delete`. You can see the amount of money
in the right bottom corner of the window. There are 3 buttons on the right: `Pay by Cash`,
`Pay by Card` and `clear`.
### Payment
There are two ways to pay, all limited in 120 seconds.
* `Pay by Cash`: Enter the number of notes/ coins in the input box and press `Confirm` to pay.
If there is enough money to pay, a box will pop out to show the change. Otherwise, the payment will be canceled.
* `Pay by Card`: Enter the name and the number of the card and press `Confirm`. If it is a valid
card, the payment will be successful. Otherwise, the payment will be canceled. If you log in an account
to purchase and pay successfully, the card details will be filled automatically in the next transaction.
## Seller
### Commodity Manage
To modify the information of a commodity, press button `Modify` of the specific row of the item and enter
the information. Then press button `Confirm` to save.
To delete a commodity, press button `Delete` of the specific row of the item.
### General Manage
Click on the label `General Manage` in the top left corner of the window.
To add a new item, enter the information in the left of the window and press `Save`.
To generate the reports, click on the buttons on the right: `Current Items List` and `Commodity Summary`.
Press these buttons to form new reports.
To see the reports, go to the root directory of the project and choose `build` folder. All the generated
reports are in the `reports` folder.
## Cashier
### Money Manage
To change the quantity of a note/coin, double-click on the number of `Quantity` column then
enter the quantity. After entering, press key `Enter` to save the input. Finally, press
button `Save` to change the amount.
### Cashier Summary
To generate the reports, click on the label `Cashier Summary` in the top left corner of
the window. Then you will see 2 buttons: `Current Change List` and `Transaction Summary`.
Press these buttons to form new reports.
To see the reports, go to the root directory of the project and choose `build` folder. All the generated
reports are in the `reports` folder.
## Owner
### Commodity Manage
To modify the information of a commodity, press button `Modify` of the specific row of the item and enter
the information. Then press button `Confirm` to save.
To delete a commodity, press button `Delete` of the specific row of the item.
### Money Manage
To change the quantity of a note/coin, double-click on the number of `Quantity` column then
enter the quantity. After entering, press key `Enter` to save the input. Finally, press
button `Save` to change the amount.
### User Manage
To delete a user, press button `Delete` of the row of the user you want to delete.
### Others
To add a new user, fill in the information in the left of the window and press `Save`.
To generate the reports, click on the buttons on the right.
To see those reports, go to the root directory of the project and choose `build` folder. All the generated
reports are in the `reports` folder.
没有合适的资源?快使用搜索试试~ 我知道了~
java收银系统源码-VendingMachine:JavaFX自动售货机
共388个文件
html:117个
class:68个
java:50个
需积分: 43 6 下载量 61 浏览量
2021-06-05
16:27:28
上传
评论
收藏 86.99MB ZIP 举报
温馨提示
java收银系统源码自动售货机(Lite Snacks) 这是由R18B_Group2开发的自动售货机(Lite Snacks)软件。 该项目是用 Java 编写的,并遵循 . 要求 本项目需要Java 11.0.8或更高版本和Gradle 5.6.1或更高版本。 跑步 使用java -jar VendingMachine.jar运行编译后的代码 使用gradle run运行源代码。 运行内置测试,使用gradle build或gradle test 。 登录 如果您有帐户,请输入用户名和密码,然后单击Login以登录系统。 如果您没有以前的帐户,您可以选择Register或Guest Login 。 Guest Login允许用户以匿名客户的身份登录。 登记 输入用户名和密码以创建新帐户。 用户名必须是唯一的。 用户类型 有 4 种类型的用户,它们具有不同的界面和功能。 顾客:购物。 卖家:填写/修改商品详情。 收银员:填写/修改钱。 所有者:添加/删除卖家或收银员或所有者用户。 填写/修改商品详情。 填写/修改钱。 顾客 主面板 登录后,提醒框会显示最近购买的老客户。 然后你会看到
资源详情
资源评论
资源推荐
收起资源包目录
java收银系统源码-VendingMachine:JavaFX自动售货机 (388个子文件)
VendingMachine.bat 3KB
gradlew.bat 2KB
results.bin 111B
output.bin 0B
OwnerController.class 21KB
CustomerController.class 13KB
SellerController.class 11KB
CashierController.class 10KB
CashPaymentController.class 9KB
CardPaymentController.class 8KB
CustomerHistoryController.class 5KB
CommodityChangeController.class 5KB
CardService.class 5KB
RegisterController.class 4KB
SellerController$2$1.class 4KB
OwnerController$2$1.class 4KB
LoginController.class 4KB
CSVUtil.class 3KB
CustomerController$1$1.class 3KB
UserSession.class 3KB
TransactionMapperImpl.class 3KB
CommodityMapperImpl.class 3KB
Transaction.class 3KB
OwnerController$1$1.class 3KB
SellerController$1$1.class 3KB
Commodity.class 3KB
OwnerController$3$1.class 3KB
SellerController$CommodityView.class 3KB
MoneyMapperImpl.class 3KB
CustomerController$CommodityRow.class 3KB
User.class 3KB
UserMapperImpl.class 2KB
AuthService.class 2KB
CommodityService.class 2KB
AgentJar.class 2KB
CustomerController$CartRow.class 2KB
OrderMapperImpl.class 2KB
Order.class 2KB
Category.class 2KB
TransactionService.class 2KB
OwnerController$2.class 2KB
OwnerController$1.class 2KB
SellerController$1.class 2KB
SellerController$2.class 2KB
CustomerController$1.class 2KB
Money.class 2KB
MD5Util.class 2KB
OwnerController$3.class 2KB
CommodityRecord.class 2KB
Role.class 2KB
Card.class 2KB
CashierController$MoneyRow.class 2KB
OwnerController$UserRow.class 2KB
SQLSessionUtil.class 2KB
MoneyService.class 1KB
TransactionMapper.class 1KB
App.class 1KB
CommodityMapper.class 1KB
CardMapperImpl.class 1KB
CalculatorTest.class 1KB
AlertUtil.class 983B
MoneyMapper.class 907B
OrderService.class 904B
EnvironmentConstant.class 848B
Calculator.class 724B
UserMapper.class 684B
OrderMapper.class 661B
Main.class 471B
CommodityRecordMapper.class 401B
CategoryMapper.class 373B
RoleMapper.class 357B
CardMapper.class 222B
report.css 4KB
base-style.css 3KB
style.css 1KB
prettify.css 323B
jacocoTestReport.csv 4KB
test.exec 31KB
Owner.fxml 23KB
Owner.fxml 23KB
Owner.fxml 23KB
Seller.fxml 14KB
Seller.fxml 14KB
Seller.fxml 14KB
CustomerSystem.fxml 14KB
CustomerSystem.fxml 14KB
CustomerSystem.fxml 14KB
Cashier.fxml 9KB
Cashier.fxml 9KB
Cashier.fxml 9KB
CashPayment.fxml 6KB
CashPayment.fxml 6KB
CashPayment.fxml 6KB
ChangeCommodity.fxml 3KB
ChangeCommodity.fxml 3KB
ChangeCommodity.fxml 3KB
Register.fxml 3KB
Register.fxml 3KB
Register.fxml 3KB
CardPayment.fxml 3KB
共 388 条
- 1
- 2
- 3
- 4
weixin_38524246
- 粉丝: 6
- 资源: 920
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- apk.tw_LineLite_v8a_v.2.17.1_sign.apk
- Elasticsearch实战:构建高效搜索系统的秘诀.zip
- HTML+CSS+JS网页设计:从入门到精通.zip
- 数据库课程设计:从理论到实践的全面指南.zip
- Python闭包:深入理解与应用场景解析.zip
- Win64OpenSSL-3-3-0.exe
- 课高分程设计-基于C++实现的民航飞行与地图简易管理系统-南京航空航天大学
- 航天器遥测数据故障检测系统python源码+文档说明+数据库(课程设计)
- 北京航空航天大学操作系统课设+ppt+实验报告
- 基于Vue+Echarts实现风力发电机中传感器的数据展示监控可视化系统+源代码+文档说明(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0