-
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 #2402 from xavier-bulos/master
- Loading branch information
Showing
13 changed files
with
139 additions
and
22 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,33 @@ | ||
# 实验四五:类建模 | ||
|
||
## 一、实验目标 | ||
|
||
1. 掌握类建模方法。 | ||
2. 掌握类图的画法。(Class Diagram) | ||
3. 了解MVC设计模式。 | ||
|
||
## 二、实验内容 | ||
|
||
1. 根据用例规约图中的基本流程和扩展流程设计类。 | ||
2. 基于MVC设计模式画出类图。 | ||
|
||
## 三、实验步骤 | ||
|
||
1. 先确定整个用例所设计到的类、试图和控制器。 | ||
2. 根据用例规约添加相应的类、试图和控制器。 | ||
3. 分析各个类之间的关系。 | ||
4. 给每个类、试图和控制器连接建立关系。 | ||
5. 完善类图。 | ||
6. 提交类图到GitHub上并撰写实验报告。 | ||
|
||
## 四、实验结果 | ||
|
||
![Lab4_1](./lab4_1.jpg) | ||
图1:获取订单详情类图 | ||
|
||
![Lab4_2](./lab4_2.jpg) | ||
图2:修改订单活类图 | ||
|
||
## 五.实验总结 | ||
1. 深刻理解类和类的属性。像类与类之间是聚合还是继承或者说是联合(association)。 | ||
2. 从需求分析中深度挖掘需要的类。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,36 @@ | ||
# 实验六:交互建模 | ||
|
||
## 一、实验目标 | ||
|
||
1. 理解系统交互。 | ||
2. 掌握UML顺序图的画法。 | ||
3. 掌握对象交互的定义与建模方法。 | ||
|
||
## 二、实验内容 | ||
|
||
1. 根据用例模型和类模型,确定功能所涉及的系统对象。 | ||
2. 在顺序图上画出参与者(对象)。 | ||
3. 在顺序图上画出消息(交互)。 | ||
|
||
## 三、实验步骤 | ||
|
||
1. 打开实验二用例规约,实验三活动图,实验四五类图。 | ||
2. 根据视频内容和前面的实验绘制画顺序图。 | ||
3. 在StarUML中新建Sequence Diagram。 | ||
4. 查看实验二用例规约,查找actor,以及根据实验四五类图,创建N+1个参与者。 | ||
5. 根据实验三活动图的操作流程,在顺序图中画出与参与者的关系。 | ||
6. 发现错误或不足修改之前的实验。 | ||
7. 完善顺序图。 | ||
8. 提交顺序图到GitHub上并撰写实验报告。 | ||
|
||
## 四、实验结果 | ||
|
||
![Lab6_1](./lab6_1.jpg) | ||
图1:获取订单详情顺序图 | ||
|
||
![Lab6_2](./lab6_2.jpg) | ||
图2:修改订单顺序图 | ||
|
||
## 五.实验总结 | ||
1. 不被其他的程序设计思维限制到自己的系统分析与设计。 | ||
2. 清楚理解各个类之间的联系和控制器怎么处理。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
# 实验7:状态建模 | ||
|
||
## 一、实验目标 | ||
|
||
1.掌握状态建模方法。 | ||
2.掌握状态图的画法。(Statechart) | ||
|
||
## 二、实验内容 | ||
|
||
1.根据用例规约图、活动图、用例图、类图、顺序图创建状态图。 | ||
2.寻找一个最关键的对象。 | ||
3.设计对象的关键状态,并用形容词描述。 | ||
4.为各个状态的转换添加转变条件。 | ||
|
||
## 三、实验步骤 | ||
|
||
1. 根据用例规约图、活动图、用例图、类图、顺序图画状态图 | ||
2. 添加Initial和Final | ||
3. 添加关键对象,这次实验选取对象为订单。 | ||
4. 结合活动图,顺序图添加关键状态。 | ||
5. 为各个状态之间的转换添加条件 | ||
6. 完善状态图。 | ||
7. 提交顺序图到GitHub上并撰写实验报告。 | ||
|
||
## 四、实验结果 | ||
|
||
![订单状态图](./lab7_1.jpg) | ||
|
||
图1:订单状态图 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.