Skip to content

Commit

Permalink
hzuapps#7 hzuapps#2181 实验七:状态建模
Browse files Browse the repository at this point in the history
  • Loading branch information
1714080902526 committed Apr 10, 2020
1 parent dcabe83 commit 967a5e7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions students/1714080902526/lab7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 实验七 状态建模

## 一、实验目标

1. 理解何为对象的状态;
2. 掌握状态建模方法;
3. 掌握状态图的画法(Statechart Diagram)。

## 二、实验内容

1. 学习对象的状态的概念;
2. 学习状态图的画法;
3. 找出自己系统中的一个关键对象,绘制该对象的状态图。

## 三、实验步骤

1. 从本系统中找出一个关键的对象,为口罩
2. 设置新闻的状态,为未购买的、已购买的、退货的
3. 设置这三种状态转变的条件
4. 完成该状态图

## 四、实验结果

![口罩的状态图](./口罩的状态图.jpg)
图一.口罩的状态图

Binary file added students/1714080902526/口罩的状态图.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 967a5e7

Please sign in to comment.