Skip to content

Commit

Permalink
Merge pull request #2520 from uozixian/master
Browse files Browse the repository at this point in the history
#8 #617 修改实验2、3、4、6报告以及图片
  • Loading branch information
zengsn authored Apr 20, 2020
2 parents bc7247a + a3abc1a commit 0342d6a
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 24 deletions.
Binary file added students/1714080902321/Lab2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed students/1714080902321/Lab2_UseCase.jpg
Binary file not shown.
Binary file removed students/1714080902321/Lab2_UseCaseDiagram.jpg
Binary file not shown.
Binary file removed students/1714080902321/Lab3_ActivityDiagram1.jpg
Binary file not shown.
Binary file removed students/1714080902321/Lab3_ActivityDiagram2.jpg
Binary file not shown.
Binary file added students/1714080902321/Lab3activity1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080902321/Lab3activity2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed students/1714080902321/Lab_4ClassDiagram1.jpg
Binary file not shown.
Binary file removed students/1714080902321/Lab_4ClassDiagram2.jpg
Binary file not shown.
Binary file removed students/1714080902321/SequenceDiagram1.jpg
Binary file not shown.
Binary file removed students/1714080902321/SequenceDiagram2.jpg
Binary file not shown.
19 changes: 19 additions & 0 deletions students/1714080902321/lab1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# 实验一

## 1.实验目标

1.熟悉github的使用
2.安装和学习StarUML的基础使用

## 2.实验内容
1.熟悉使用github提交作业
2.安装并学习StarUML的使用

## 3.实验步骤
1.下载并安装git工具还有StarUML软件
2.在github上fork老师的项目到自己的账号下
3.clone项目到本机
4.在本地文件夹中建一个自己学号命名的文件夹
5.创建实验一文档Markdown文档,并用StarUML创建一张UML图
6.将UML图插入到实验一Markdown文档中
7.用git上传文件夹到自己fork的项目下
8.在github上使用pull request请求合并到主库

## 实验结果

![第一个UML图](./Main.jpg)
29 changes: 14 additions & 15 deletions students/1714080902321/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
## 2. 实验内容
1. 在issue里提交自己的选题和功能介绍
2. 我的题目是#617 景点门票线上预约系统,功能是:
1.添加预订
1.预订门票
2.修改预订日期
3. 根据自己的选题,找出参与者与用例,并画出用例图

## 3. 实验步骤
1. 看选题,找出我的选题中的参与者:买家。
2. 再根据选题的功能,写出两个用例:
1.添加预订
1.预订门票
2.修改预订日期
3. 建立参与者与用例之间的联系(Association)
4. 写出两个用例的用例规约,如下表表1、表2所示

## 4. 实验结果

![用例图](./Lab2_UseCaseDiagram.jpg)
![用例图](./Lab2.jpg)

图1:景点门票线上预约系统的用例图

Expand All @@ -34,17 +34,15 @@
前置条件 | | *可选*
后置条件 | 买家进入预订管理的界面 | *可选*
基本流程 |1.买家点击预订按钮 |
~| 2. 系统进入到填写预订信息的界面 |
~| 3. 买家点击添加游客信息的按钮; |*用例执行成功的步骤*
~| 4. 系统显示编辑游客信息页面; |
~| 5. 买家编辑游客信息(姓名,省份证,参观日期,手机号等),点击确定按钮; |
~| 6. 系统检查游客信息,统计本订单游客的数目; |
~| 7. 买家点击提交订单按钮; |
~| 8. 系统查询当天景点门票的剩余数目,检查该景点门票数目充足,减去相应的景点门票的数目; |
~| 9. 系统保存预订信息;|
~| 10. 系统显示预订成功。 |
扩展流程 | 6.1 系统检查发现游客信息必填项为空,提示买家“必填项不能为空”; |*用例执行失败*
~| 8.1 系统检查发现当天景点门票的剩余数目不足,提示买家“该门票剩余的票数不足”; |
~| 2. 系统进入到门票预订的界面 |
~| 3. 买家选择日期并输入购买数量; |*用例执行成功的步骤*
~| 4. 买家点击提交订单的按钮; |
~| 5. 系统检查买家填的信息,统计本订单的票数; |
~| 6. 系统查询当天景点门票的剩余数目,检查该景点门票数目充足,减去相应的景点门票的数目; |
~| 7. 系统保存预订信息;|
~| 8. 系统显示预订成功。 |
扩展流程 | 5.1 系统检查发现买家填写的信息必填项为空,提示买家“必填项不能为空”; |*用例执行失败*
~| 6.1 系统检查发现当天景点门票的剩余数目不足,提示买家“该门票剩余的票数不足”; |

##表2:修改预订日期用例规约

Expand All @@ -58,5 +56,6 @@
~| 3. 买家点击修改日期的按钮并且选择新的日期,然后点击确认的按钮; |
~| 4. 系统查询新日期的景点门票的剩余数目,检查该景点门票数目充足,减去相应的景点门票的数目; |
~| 5. 系统增加旧日期的景点门票的数目;|
~| 6. 系统显示修改成功。|
~| 6. 系统保存预订信息; |
~| 7. 系统显示修改成功。|
扩展流程 | 4.1 系统检查发现新日期的景点门票的剩余数目不足,提示买家“该门票剩余的票数不足,请重新选择新的日期”; |*用例执行失败*
4 changes: 2 additions & 2 deletions students/1714080902321/lab3.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

## 4. 实验结果

![活动图](./Lab3_ActivityDiagram1.jpg)
![活动图](./Lab3activity1.jpg)

图1:添加预订活动图

![活动图](./Lab3_ActivityDiagram2.jpg)
![活动图](./Lab3activity2.jpg)

图2:修改预订日期活动图
6 changes: 3 additions & 3 deletions students/1714080902321/lab4.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

## 4. 实验结果

![类图](./Lab_4ClassDiagram1.jpg)
![类图](./lab45ClassDiagram1.jpg)

图1:添加预订类图
图1:预订门票类图

![类图](./Lab_4ClassDiagram2.jpg)
![类图](./lab45ClassDiagram2.jpg)

图2:修改预订日期类图
Binary file added students/1714080902321/lab45ClassDiagram1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080902321/lab45ClassDiagram2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions students/1714080902321/lab6.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## 3. 实验步骤
1. 观看教学视频进行学习

2. 画出添加预订顺序图
2. 画出预订门票顺序图

3. 画出修改预订日期顺序图

Expand All @@ -24,11 +24,11 @@

## 4. 实验结果

![顺序图](./SequenceDiagram1.jpg)
![顺序图](./Sequence1.jpg)

图1:添加预订顺序图
图1:预订门票顺序图

![顺序图](./SequenceDiagram2.jpg)
![顺序图](./Sequence2.jpg)

图2:修改预订日期顺序图

0 comments on commit 0342d6a

Please sign in to comment.