Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#7 #497 实验七:状态建模 #2307

Merged
merged 2 commits into from
Apr 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions students/1714080902605/lab7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 实验七:状态建模

## 一、实验目标

1. 掌握对象状态建模
2. 画状态图


## 二、实验内容

1. 根据用例图、活动图等确定关键对象
2. 确定对象的状态和状态的转换条件
3. 画系统对象的状态图

## 三、实验步骤

1. 从用例图、活动图等找到关键对象
2. 新建状态图,添加Initial State 和 Final State
3. 添加状态的Simple State
4. 用Transition连接,写上转换条件

## 四、实验结果

![状态图](./房源的状态图.jpg)

图1、房源的状态图
Binary file added students/1714080902605/房源的状态图.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.