Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…实验报告重新修改
  • Loading branch information
Chenhuanpen committed Apr 14, 2020
1 parent 8d0c741 commit e3b0ce6
Show file tree
Hide file tree
Showing 13 changed files with 125 additions and 15 deletions.
2 changes: 1 addition & 1 deletion students/1714080902220/lab1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@

## 四.实验结果

![第一个UML图](./model.jpg)
![第一个UML图](./model1.jpg)
第一个UML图
21 changes: 9 additions & 12 deletions students/1714080902220/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
用例名称 | 发布家教信息 |
前置条件 | 家教中介登陆管理系统 | *可选*
后置条件 | 进入教员管理系统的首页 | *可选*
基本流程 | 1. 点击"发布家教信息"按钮; |*用例执行成功的步骤*
~| 2. 显示家教发布界面; |
基本流程 | 1. 点击"编辑家教信息"按钮; |*用例执行成功的步骤*
~| 2. 显示家教编辑界面; |
~| 3. 家教中介商输入家教基本信息; |
~| 4. 家教中介编辑好信息,点击"发布"按钮; |
~| 5. 系统检查家教信息必填信息有填写,格式正确; |
~| 5. 系统检查家教信息必填信息有填写; |
~| 6. 显示发布成功; |
扩展流程 | 5.1 系统发现有未完善必填信息,提示“请完善以上必填信息”。 |*用例执行失败*
~| 5.1 系统检查信息填写格式不正确,提示“有信息填写格式不正确”。 |




Expand All @@ -65,11 +65,8 @@
后置条件 | 教员进入“我的页面”| *可选*
基本流程 | 1. 用户点击"领取家教"按钮; |*用例执行成功的步骤*
~| 2. 系统显示家教领取界面; |
~| 3. 填写期望的家教薪资,科目以及时间,; |
~| 4. 系统检测到满足要求的家教; |
~| 5. 筛选之后点击“领取”;|
~| 6.提示需要“收取一些中介费用”;|
~| 7.扫码收费,系统检测收费成功;|
~| 8.提示领取成功,请改天到家教中介公司面试;|
扩展流程 | 4.1 检测不到符合要求的家教,提示检索失败。 |*用例执行失败*
~| 7.1系统检测收费失败,提示“请再一次付费” ; \|
~| 3. 筛选之后点击“领取”; |
~| 4. 系统检测到该家教尚未被领取; |
~| 5. 提示领取成功;|
扩展流程 | 4.1 该家教信息已经被领取,请重新选择 |*用例执行失败*

4 changes: 2 additions & 2 deletions students/1714080902220/lab3.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
3. 导出活动图并编写实验报告

## 四、实验结果
![活动图](./model3(1).jpg)
![活动图](./model3_1.jpg)

图1. 发布家教信息活动图


![活动图](./model3(2).jpg)
![活动图](./model3_1.jpg)

图2. 领取家教活动图
43 changes: 43 additions & 0 deletions students/1714080902220/lab4+5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 实验四 类建模
# 实验五 高级类建模
## 一、实验目标

1. 掌握类建模方法;
2. 掌握UML中类图(Class Diagram)的画法;
3. 熟悉了解MVC设计模式。


## 二、实验内容
1. 学习类图的基本概念和类与类的关系;
2. 在bilibili观看视频学习类建模方法和MVC设计模式;
2. 根据用例规约使用StarUML画类图。

## 三、实验步骤
1. 在bilibili观看实验四五类建模视频;
2. 在StarUML创建两个类图(Class Diagram):
(1)发布家教类图;
(2)领取家教类图;
3. 根据用例规约画图:
(1)使用Class图形分别画出Model、Controller和View;
(2)使用Dependency表示Controller与Model和View的关系;
(3)使用Aggregation表示Model与View的关系。
4. 分别导出各类图的JPEG格式图片;
5. 编写lab4.md实验报告文档。

## 四、实验结果

![发布家教类图](./model4_1.jpg)
图1 发布家教类图

![领取家教类图](./model4_2.jpg)
图2 发布家教类图

## 五、实验收获

1. 了解了类图和类建模的方法:
(1)描述类的类图可分为类名层、属性层和方法层等多层(实验中只画出类名层);
(2)类与类之间的联系:Dependency、Association、Aggregation、Composition等等。
2. 了解了MVC设计模式的基本概念:
M:Model——模型是应用程序中用于处理应用程序数据逻辑的部分;
V:View——视图是应用程序中处理数据显示的部分;
C:Controller——控制器是应用程序中处理用户交互的部分。
39 changes: 39 additions & 0 deletions students/1714080902220/lab6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 实验六:交互建模

## 一、实验目标

1. 理解系统交互;
2. 掌握UML顺序图的画法;
3. 掌握对象交互的定义与建模方法。


## 二、实验内容

1. 根据用例模型和类模型,确定功能所涉及的系统对象;
2. 在顺序图上画出参与者(对象);
3. 在顺序图上画出消息(交互)。


## 三、实验步骤

1. 从用例图中找到参与者(1)
2. 从类图找到所有的参与者(N)
3. 在StarUML中创建顺序图
- 添加关注人顺序图
- 发布动态顺序图
4. 通过用例规约画顺序图
5. 根据最终情况修改用例规约和所有的实验所画的图


## 四、实验结果

图1 添加关注人顺序图
![顺序图](./model6_1.jpg)

图2 发布动顺序图
![顺序图](./model6_2.jpg)


## 五、实验总结

要认真看视频 做起来比较清楚
31 changes: 31 additions & 0 deletions students/1714080902220/lab7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 实验七:状态建模

## 一、实验目标

1. 掌握对象状态建模(状态图,Statechart)。


## 二、实验内容

1. 寻找一个关键的对象;
2. 设计该对象的关键状态;
3. 设计状态之间的转变条件。


## 三、实验步骤

1. 根据自己的用例规约、活动图、类图和顺序图,选择关键的对象;
2. 确定了要绘制状态图的对象是“动态”
3. 找出家教信息的相关状态
- 草稿的
- 发布的
- 已删除的
-已领取的
4. 绘制状态图
5. 添加相关的结点


## 四、实验结果

图1 动态的状态图
![状态图](./model7_1.jpg)
Binary file added students/1714080902220/model3_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/1714080902220/model3_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/1714080902220/model4_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/1714080902220/model4_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/1714080902220/model6_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/1714080902220/model6_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/1714080902220/model7_1.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 e3b0ce6

Please sign in to comment.