Skip to content

Commit

Permalink
Merge pull request #1886 from lbules/master
Browse files Browse the repository at this point in the history
#4 #5 #864 实验四五:类建模
  • Loading branch information
zengsn authored Mar 28, 2020
2 parents 6cc0791 + ccb58dd commit 88785e6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Binary file added students/1714080902239/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/1714080902239/ClassDiagram2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions students/1714080902239/lab4-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 实验四:类建模 实验五:高级类建模

## 一、实验目标
1、掌握类建模方法
2、了解MVC或你熟悉的设计模式
3、掌握类图的画法(Class Diagram)

## 二、实验内容
1、基于MVC模式设计类
2、设计类的关系
3、画出类图

## 三、实验步骤
1、确定设计模式为MVC模式
2、在StarUML中新建Class Diagram
3、根据实验二用例规约确定类
4、用class画出类,包括控制器与界面

## 四、实验结果

### 类图如下:

![ClassDiagram1](./ClassDiagram1.jpg)
图1:录入肉鸡信息类图

![ClassDiagram1](./ClassDiagram2.jpg)
图2:修改肉鸡存栏类图

0 comments on commit 88785e6

Please sign in to comment.