Skip to content

Commit

Permalink
Merge pull request #2496 from Ivanchenyx/master
Browse files Browse the repository at this point in the history
#8 #244 完善实验报告
  • Loading branch information
zengsn authored Apr 19, 2020
2 parents e37068a + 1c43bf0 commit 012b125
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 41 deletions.
16 changes: 13 additions & 3 deletions students/1707080412124/lab1.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
# 实验一

## 实验目标
## 一、实验目标

1. 学会如何使用StarUML创建模型;
2. 学会使用GitHub基础功能。

## 实验内容
## 二、实验内容

1. 在StarUML创建模型;
2. 导出图片;
3. 将实验内容推到GitHub

## 实验结果
## 三、实验步骤

1. 选择要创建的Diagram
2. 选择类
3. 确定类与类之间的联系
4. 连接类
5. 将完成的Diagram和实验报告推到Github的实验库

## 四、实验结果

![实验一](./model1.jpg)


9 changes: 5 additions & 4 deletions students/1707080412124/lab2.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# 实验二:用例建模

## 1、实验目标
## 、实验目标

1. 学会使用Markdown写报告
2. UML建模选题
3. 掌握用例图的画法

## 2、实验内容
## 、实验内容

1. 选题
2. 绘制用例图

## 3、实验步骤
## 、实验步骤

1. 根据选题确定2个功能(用例)
- 入住登记
Expand All @@ -21,7 +21,7 @@
3. 建立用例和参与者的联系
4. 描述用例规约

## 4、 实验结果
## 、 实验结果

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

Expand Down Expand Up @@ -60,3 +60,4 @@
~| 8.系统检测到顾客支付信息,保存收款信息; |
~| 9.系统提示“支付成功”,显示主界面。 |
扩展流程 | 8.1系统1分钟内仍未检测到顾客支付信息,提示『请确认支付』 |*用例执行失败*

10 changes: 5 additions & 5 deletions students/1707080412124/lab3.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# 实验三:过程建模

## 1、实验目标
## 、实验目标

1. 掌握过程建模方法
2. 掌握活动图画法

## 2、实验内容
## 、实验内容

1. 根据实验二的用例规约完成活动图

## 3、实验步骤
## 、实验步骤

1. 根据用例规约的基本流程和扩展流程确定Action
2. 根据用例规约的扩展流程确定Decision
3. 根据业务流程连接Action

## 4、 实验结果
## 、 实验结果

![入住登记活动图](./Lab3_ActivityDiagram_Register.jpg)

图1:酒店自助开房退房系统的入住登记活动图

![结账活动图](./Lab3_ActivityDiagram_Check.jpg)

图2:酒店自助开房退房系统的退房活动图
图2:酒店自助开房退房系统的退房活动图
30 changes: 1 addition & 29 deletions students/1707080412124/lab4~5.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,7 @@
3. 确定类与类之间的联系;
4. 画类图。

## 四、实验(上课)笔记
1. 类的画法:名称(ClassName)+属性(Attribute)+操作(Operation)
2. 类的可见性
- public(+)
- protected(#)
- package(~)
- private(-)
3. 类与类之间的联系(推荐低耦合的设计)
- 依赖(dependency)
- 联系(association)
- 聚合(aggregation)
- 组合(composition)
- 继承(inheritance)
4. MVC设计模式
- Model
- 模型
- 实体
- 数据
- View
- 视图
- 界面
- AbcUI
- Controller
- 控制器
- 系统
- Controller
- Service

## 五、实验结果
## 四、实验结果

![入住登记类图](./Lab4_ClassDiagram_Register.jpg)

Expand Down

0 comments on commit 012b125

Please sign in to comment.