1
00:00:00,490 --> 00:00:01,180
怎么加
2
00:00:01,570 --> 00:00:04,380
我们来看,这是刚才那个图
3
00:00:05,200 --> 00:00:06,390
17.7
4
00:00:07,150 --> 00:00:08,260
我们同样在这里加
5
00:00:08,430 --> 00:00:10,100
同样在这个下面加
6
00:00:10,960 --> 00:00:12,100
2-结构下面加
7
00:00:13,710 --> 00:00:14,890
添加一张图
8
00:00:16,290 --> 00:00:18,470
然后同样是BDD
9
00:00:19,280 --> 00:00:21,730
我们名字叫做什么
10
00:00:21,740 --> 00:00:27,380
叫做现有运营领域
11
00:00:28,080 --> 00:00:33,630
然后,括号,图标表示
12
00:00:37,670 --> 00:00:38,110
OK
13
00:00:41,630 --> 00:00:45,670
这样,刚才那个图就少了
14
00:00:46,320 --> 00:00:48,070
包的名字在这里
15
00:00:51,270 --> 00:00:55,680
然后我们来看它要加
1
00:00:00,850 --> 00:00:04,630
我们看第一个要加的,就是现有中央工作站
2
00:00:06,380 --> 00:00:09,030
分派员、警察、入侵者
3
00:00:09,440 --> 00:00:11,390
住宅等等
4
00:00:11,560 --> 00:00:13,350
就这样加,我们一个个加上去
1
00:00:00,560 --> 00:00:01,800
好,我们看怎么加
2
00:00:02,500 --> 00:00:03,840
同样放上一个block
3
00:00:04,690 --> 00:00:06,320
然后起名叫什么
4
00:00:06,330 --> 00:00:09,380
就这里了
5
00:00:10,920 --> 00:00:12,670
现有中央工作站
6
00:00:15,340 --> 00:00:16,140
OK
7
00:00:18,010 --> 00:00:20,130
然后,就这里
8
00:00:22,890 --> 00:00:24,200
然后还有什么
9
00:00:24,870 --> 00:00:27,140
分派员
10
00:00:32,730 --> 00:00:33,480
调度员
11
00:00:41,880 --> 00:00:42,950
警察
12
00:00:49,200 --> 00:00:50,110
入侵者
13
00:00:56,790 --> 00:00:58,150
还有通讯网络
14
00:01:05,220 --> 00:01:07,440
还有住宅
15
00:01:14,940 --> 00:01:16,290
我们调整一下位置
16
00:01:17,530 --> 00:01:22,730
过来
17
00:01:24,110 --> 00:01:24,820
这个在这里
18
00:01:26,200 --> 00:01:28,250
入侵者差不多在这里
19
00:01:34,140 --> 00:01:35,020
这样,差不多
1
00:00:01,290 --> 00:00:06,910
接下来,就是添加中间的关联
2
00:00:07,610 --> 00:00:11,430
这个倒是简单,直接双向箭头就完了
3
00:00:12,200 --> 00:00:12,750
实际上
4
00:00:12,760 --> 00:00:18,380
我们把关联的两边设成都是可以导航的
5
00:00:19,130 --> 00:00:20,530
我们来连一下
6
00:00:29,010 --> 00:00:33,320
这个跟这个关联
7
00:00:34,450 --> 00:00:41,690
然后双击,这两边都设成可导航的
8
00:00:46,680 --> 00:00:52,920
实际上这个图,作者瞎画的
9
00:00:52,930 --> 00:00:55,970
没有讲什么道理
10
00:00:58,340 --> 00:01:03,960
就跟那些不懂建模方法的
11
00:01:03,970 --> 00:01:06,280
随便想到哪画到哪一样的
12
00:01:09,440 --> 00:01:10,640
自己觉得还挺不错的
13
00:01:10,650 --> 00:01:11,680
但是没有什么道理
14
00:01:30,550 --> 00:01:34,040
还有警察怎么跟入侵者就对上了
15
00:01:36,130 --> 00:01:40,250
应该是警察、入侵者关联到某个事情上面
16
00:01:41,170 --> 00:01:45,560
并不是警察跟入侵者就直接关联
17
00:01:45,890 --> 00:01:49,480
因为某个事情的出现而关联
18
00:01:50,140 --> 00:01:52,980
有谁报案了,或者因为某个房子出问题了
19
00:01:53,470 --> 00:01:56,080
然后警察来到这房子
20
00:01:56,550 --> 00:01:57,490
抓了入侵者
21
00:01:57,500 --> 00:02:00,580
那就要跟某个事件某个案件什么的
22
00:02:12,730 --> 00:02:13,350
这边
23
00:02:28,830 --> 00:02:30,010
这两个对齐一下
24
00:02:34,550 --> 00:02:38,700
好接,下来我们就要把这个改成图标的形式了
25
00:02:38,950 --> 00:02:40,980
怎么改,EA里面右键点这个
26
00:02:42,140 --> 00:02:47,490
然后选择一个缺省的图标
27
00:02:48,340 --> 00:02:52,990
可以在这里添加新的图标
28
00:02:53,630 --> 00:02:54,640
这里是预设好的
29
00:02:54,650 --> 00:02:56,480
你没预设,你现加就可以了
30
00:02:56,490 --> 00:02:58,210
添加这个
31
00:03:02,040 --> 00:03:03,860
我这里已经把它弄好了,在这里
32
00:03:04,550 --> 00:03:14,010
这个是中央监测站,这里
33
00:03:14,020 --> 00:03:16,420
然后,block我们把它去掉
34
00:03:17,110 --> 00:03:20,280
怎么去掉,右键点图的空白处
35
00:03:20,290 --> 00:03:21,120
properties
36
00:03:23,920 --> 00:03:28,960
然后把构造型不显示,显示图标就行了
37
00:03:30,190 --> 00:03:32,220
同样的,调度员也一样的
38
00:03:34,040 --> 00:03:41,720
调度员
39
00:03:47,690 --> 00:03:49,860
好,然后这个是警察
40
00:04:03,010 --> 00:04:03,930
入侵者
41
00:04:15,490 --> 00:04:16,230
住宅
42
00:04:30,320 --> 00:04:30,800
上来一点
43
00:04:31,790 --> 00:04:38,900
入侵者下来一点,通讯网络
44
00:04:44,870 --> 00:04:45,580
点错
45
00:04:46,740 --> 00:04:47,730
右键点
46
00:05:06,700 --> 00:05:07,340
缩小一点
47
00:05:14,870 --> 00:05:16,890
这样差不多
48
00:05:28,310 --> 00:05:33,360
这个就是图17.8,用图标来表示
49
00:05:33,800 --> 00:05:38,010
block之间的关系