Skip to content

Commit

Permalink
Merge pull request #1887 from 2323162137/master
Browse files Browse the repository at this point in the history
#4 #5 #1204 实验四五:类建模与高级类建模
  • Loading branch information
zengsn authored Mar 28, 2020
2 parents 88785e6 + 8843151 commit 4b4dc95
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion students/1714080902608/lab3.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


## 四、实验结果
![预定羽毛球场活动图](./lab1_ActivityDiagram1.jpg)
![预定羽毛球场活动图](./lab3_ActivityDiagram1.jpg)
图1.预定羽毛球场活动图

![记录羽毛球场为空状态活动图](./lab3_ActivityDiagram2.jpg)
Expand Down
33 changes: 33 additions & 0 deletions students/1714080902608/lab4.md
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:将羽毛球场设置为空的类图

Binary file added students/1714080902608/lab4_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080902608/lab4_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b4dc95

Please sign in to comment.