-
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 #1887 from 2323162137/master
- Loading branch information
Showing
4 changed files
with
34 additions
and
1 deletion.
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
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. 了解MVC设计模式 | ||
3. 理解类的5种关系 | ||
4. 掌握类图(Class Diagram)的画法 | ||
|
||
## 二、实验内容 | ||
|
||
1. 观看教学视频,学习类建模知识 | ||
2. 基于MVC模式设计类 | ||
3. 设计类的关系 | ||
4. 根据类的关系画出类图 | ||
|
||
## 三、实验步骤 | ||
|
||
1.创建预约羽毛球场的类图; | ||
2.创建预约羽毛球场控制器,羽毛球场管理员,羽毛球场,预约羽毛球场界面等4个类; | ||
3.将类用依赖线和聚合线连接 | ||
4.创建将羽毛球场设置为空的类图; | ||
5.创建将羽毛球场设置为空控制器,羽毛球场管理员,羽毛球场,置空羽毛球场界面等4个类; | ||
6.将类用依赖线和聚合线连接 | ||
|
||
## 实验结果 | ||
|
||
![预约羽毛球场类图](./lab4_1.jpg) | ||
图1:预约羽毛球场的类图 | ||
|
||
![将羽毛球场设置为空类图](./lab4_2.jpg) | ||
图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.