Skip to content

Commit

Permalink
Merge pull request #1534 from kunknu/master
Browse files Browse the repository at this point in the history
#3 Update lab3
  • Loading branch information
zengsn committed Mar 19, 2020
2 parents 367c9c3 + 0ab024e commit 3e5d47f
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 12 deletions.
29 changes: 17 additions & 12 deletions students/1714080902324/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
基本流程 | 1. 观众进入选票页面 |
~| 2. 系统获取比赛信息 |
~| 3. 观众选定位置并点击提交选票信息 |
~| 4. 系统写入观众选票信息 |
~| 5. 系统提示选票成功 |
扩展流程 | 2.1 系统检查位置已被选用,提示观众选票失败重新选票 |*用例执行失败*
~| 2.2 系统检查比赛已过期或取消,提示观众选票失败 |
~| 4. 系统检查比赛是否过期 |
~| 5. 系统检查位置是否已被选用 |
~| 6. 系统写入观众选票信息 |
~| 7. 系统提示选票成功 |
扩展流程 | 4.1 系统检查比赛已过期或取消,提示观众选票失败 |*用例执行失败*
~| 5.1系统检查位置已被选用,提示观众选票失败重新选票 |

## 表二:退票用例2规约
用例编号 | UC02 | 备注
Expand All @@ -42,9 +44,10 @@
基本流程 | 1. 观众进入退票页面 |
~| 2. 系统获取观众信息 |
~| 3. 观众选定已选比赛并提交退票信息 |
~| 4. 系统作废原票 |
~| 5. 系统提示退票成功 |
扩展流程 | 2.1 系统检查比赛已过期或取消,提示观众退票失败 |*用例执行失败*
~| 4. 系统检查比赛是否过期 |
~| 5. 系统作废原票并释放座位 |
~| 6. 系统提示退票成功 |
扩展流程 | 4.1 系统检查比赛已过期或取消,提示观众退票失败 |*用例执行失败*

## 表二:改票用例3规约
用例编号 | UC03 | 备注
Expand All @@ -55,11 +58,13 @@
基本流程 | 1. 观众进入改票页面 |
~| 2. 系统获取观众信息 |
~| 3. 观众选定已选比赛并提交改票信息 |
~| 4. 系统写入新票信息 |
~| 5. 系统作废原票 |
~| 6. 系统提示改票成功 |
扩展流程 | 2.1 系统检查位置已被选用,提示观众选票失败重新改票 |*用例执行失败*
~| 2.2 系统检查比赛已过期或取消,提示观众改票失败 |
~| 4. 系统检查比赛是否过期 |
~| 5. 系统检查位置是否已被选用 |
~| 6. 系统写入新票信息 |
~| 7. 系统作废原票并释放座位 |
~| 8. 系统提示改票成功 |
扩展流程 | 4.1 系统检查比赛已过期或取消,提示观众改票失败 |*用例执行失败*
~| 5.2 系统检查位置已被选用,提示观众选票失败重新改票 |



19 changes: 19 additions & 0 deletions students/1714080902324/lab3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 实验3:过程建模
## 一、实验目标
1.掌握过程建模方法。
2.掌握活动图的画法。(Activity Diagram)
## 二、实验步骤
->创建Activity Diagram
->添加初始结点、添加结束结点
->添加活动、分支处添加决策
->添加流程线、调整整体
## 三、画图要点
1.把基本流程和扩展流程的动作画为操作(Action)。
2.在出现分支的操作之后使用决策(Decision)节点。
## 四、实验结果
用例一:选票
![lab3](./lab3_1.jpg)
用例二:退票
![lab3](./lab3_2.jpg)
用例三:改票
![lab3](./lab3_3.jpg)
Binary file added students/1714080902324/lab3_1.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/1714080902324/lab3_2.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/1714080902324/lab3_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e5d47f

Please sign in to comment.