-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2384 from luosirs/master
- Loading branch information
Showing
4 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 实验一:UML建模工具 | ||
|
||
## 一、实验目标 | ||
|
||
1. 下载安装建模工具StarUMl,了解软件基本使用 | ||
2. 确定个人建模选题 | ||
3. 掌握Git工具和平台GitHub的使用 | ||
|
||
## 二、实验内容 | ||
|
||
1. 安装UMl建模工具 | ||
2. 加入学习课程库hzuapps/uml-modeling-2020 | ||
3. 安装Git工具并了解基本使用 | ||
|
||
## 三、实验步骤 | ||
|
||
1. 加入课程学习库hzuapps/uml-modeling-2020 | ||
2. Fork实验库到个人账号下 | ||
3. 安装Git工具 | ||
4. 克隆代码到本地仓库 | ||
5. 使用建模工具StarUML完成第一张建模图(no1.jpg) | ||
6. 撰写实验一实验报告 | ||
|
||
## 四、实验结果 | ||
![实验一图1](./no1.jpg) | ||
|
||
图一:第一张建模图 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 实验七:状态建模 | ||
|
||
## 一、实验目标 | ||
|
||
1. 掌握对象状态建模 | ||
|
||
## 二、实验内容 | ||
|
||
1. 理解对象状态的概念 | ||
2. 认识状态图的构成要素(状态、转变) | ||
3. 掌握状态图的画法 | ||
|
||
## 三、实验步骤 | ||
|
||
1. 学习状态图构成 | ||
2. 画状态图 | ||
- 根据类图和顺序图确定关键对象(订单) | ||
- 根据对象确定对象状态(待支付的、待发货的、未评价的、已评价的) | ||
- 写入状态之间的转变(下单、支付成功、签收、评价订单、删除评价) | ||
3. 撰写实验七实验报告 | ||
|
||
## 四、课堂笔记 | ||
|
||
1. 状态图的构成 | ||
- 状态:对象的一个状态,取决于对象所包含的所有数据(形容词) | ||
- 转变:不同于转变条件,转变条件需要添加括号 | ||
2. 画状态图注意事项 | ||
- 不画不存在的状态 | ||
- 区分两个状态是否是一致的 | ||
- 转变条件不能直接当成转变来操作,需加入方括号 | ||
|
||
## 五、实验结果 | ||
![实验七状态图1](./Lab7_StatechartDiagram1.jpg) | ||
|
||
图一:订单状态图 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.