-
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 #1906 from chenlianghai/master
- Loading branch information
Showing
10 changed files
with
50 additions
and
16 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
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,34 @@ | ||
# 实验四:类建模;实验五:高级类建模 | ||
|
||
## 一、实验目标 | ||
- 掌握类建模方法; | ||
- 了解MVC的设计模式(model、view、controller); | ||
- 掌握类图的画法。(Class Diagram) | ||
- 理解类的5种关系 | ||
- 掌握类之间关系的画法。(Class Diagram) | ||
## 二、实验内容 | ||
- 了解MVC设计模式; | ||
- 根据用例规约绘制相应的类图; | ||
- 上传github | ||
- 在GitHub平台新建一个.md文件并描述内容。 | ||
|
||
## 三、实验步骤 | ||
- 了解MVC设计模式: | ||
1. Model为实体类 | ||
2. View为用户操作的视图 | ||
3. Controller为控制两者的控制器。 | ||
4. Model和View不会互相交互,都由Controller进行联系或控制。 | ||
|
||
- 在StarUml中创建类图 | ||
1. 根据用例规约,挖掘所需的类; | ||
2. 用MVC设计模式绘图 | ||
- 了解类之间的关系,并连线。 | ||
|
||
## 四、实验结果 | ||
![送物品的类图](./送物品的类图.jpg) | ||
|
||
图1:送物品的类图 | ||
|
||
![收物品的类图](./收物品的类图.jpg) | ||
|
||
图2:收物品的类图 |
Binary file not shown.
Binary file not shown.
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.
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.