Skip to content

Commit

Permalink
hzuapps#4 hzuapps#5 hzuapps#1241 实验四五实验提交
Browse files Browse the repository at this point in the history
  • Loading branch information
MUYU0-0 committed Mar 27, 2020
1 parent d0dfeca commit cab99d0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
Binary file added students/1714080902631/ClassDiagram1.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/1714080902631/ClassDiagram2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions students/1714080902631/lab4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 实验四五:类建模

## 一、 实验目标

1. 掌握类建模;
2. 了解MVC或你熟悉的设计模式;
3.掌握类图的画法(Class Diagram)

## 二、 实验内容

1.基于MVC模式设计类
2.设计类的关系
3.画出类图

## 三、 实验步骤

1. 创建查找公交车的类图项目
2. 根据用例规约创建公交车类,实时地图类,乘客类,查找公交车控制器类,实时位置显示页面类
3. 用依赖线连接查找公交车控制器类和其他类,使用聚合线连接公交车类,实时地图类,乘客类
4. 创建寻找路线的类图项目
5. 根据用例规约创建目的地类,实时地图类,乘客类,道路类,寻找路线控制器类,路线显示界面类
6. 用依赖线连接寻找路线控制器类图和其他类,使用聚合线连接实时地图类,目的地类,乘客类,道路类

## 四、 实验结果

![查询公交车的类图](./ClassDiagram1.jpg)

图1:查询公交车的类图

![寻找路线的类图](./ClassDiagram2.jpg)

图2:寻找路线的类图

0 comments on commit cab99d0

Please sign in to comment.