0
00:00:00,410 --> 00:00:04,290
那第一个描述的就是使命声明了
1
00:00:06,010 --> 00:00:09,618
那么内容在这里,它列了一个表格
2
00:00:09,618 --> 00:00:10,160
在这里
3
00:00:11,320 --> 00:00:15,238
你看,一条一条的需求表达出来
4
00:00:15,238 --> 00:00:17,650
然后这是ID,名称
5
00:00:17,960 --> 00:00:19,240
文本
6
00:00:20,630 --> 00:00:21,520
那么
7
00:00:21,800 --> 00:00:25,412
画图就画在这个需求图里面了
8
00:00:25,412 --> 00:00:26,960
建一张需求图
9
00:00:27,240 --> 00:00:28,410
然后画在这里
10
00:00:34,070 --> 00:00:35,379
那么这个内容呢
11
00:00:35,379 --> 00:00:37,250
我把它翻译成了中文
12
00:00:37,250 --> 00:00:41,180
在这里,我们一会儿拷进去就行,不打字了
13
00:00:41,840 --> 00:00:43,550
那下面我们就来画一下
14
00:00:44,460 --> 00:00:46,020
这个需求图怎么画
15
00:00:46,020 --> 00:00:46,410
你看
16
00:00:48,480 --> 00:00:52,980
它是在这个包下面,使命声明这个包下面
17
00:00:52,980 --> 00:00:54,330
然后这个图是
18
00:00:56,160 --> 00:00:59,000
它用了这个词,解构
19
00:00:59,280 --> 00:01:00,530
这个需求
20
00:01:03,070 --> 00:01:04,100
也就是说
21
00:01:05,710 --> 00:01:07,660
它没有用需求分解
22
00:01:07,940 --> 00:01:09,245
那书里面也讲了
23
00:01:09,245 --> 00:01:10,737
它也解释了一下
24
00:01:10,737 --> 00:01:12,230
说为什么不用分解
25
00:01:12,510 --> 00:01:12,823
26
00:01:12,823 --> 00:01:15,020
因为分解是那个
27
00:01:17,110 --> 00:01:18,320
平行的
28
00:01:18,600 --> 00:01:19,470
29
00:01:19,750 --> 00:01:22,019
不增加,不改变含义的
30
00:01:22,019 --> 00:01:23,670
同一个层级的
31
00:01:24,210 --> 00:01:26,110
这样把它切开
32
00:01:26,420 --> 00:01:27,770
解构呢
33
00:01:28,380 --> 00:01:30,570
书里没说
34
00:01:30,570 --> 00:01:32,760
为什么要用这个词
35
00:01:33,040 --> 00:01:34,580
我们只能说
36
00:01:35,340 --> 00:01:40,164
揣摩它的意思,应该就是说它不是一个抽象级别的
37
00:01:40,164 --> 00:01:42,921
比如说,怎么个不是一个抽象级别的
38
00:01:42,921 --> 00:01:43,840
你看这里
39
00:01:46,120 --> 00:01:47,704
它并不是简单的分解
40
00:01:47,704 --> 00:01:48,584
而是什么
41
00:01:48,584 --> 00:01:49,640
通过问为什么
42
00:01:49,920 --> 00:01:51,045
怎么样
43
00:01:51,045 --> 00:01:51,420
44
00:01:51,420 --> 00:01:52,920
为什么不
45
00:01:53,760 --> 00:01:53,994
46
00:01:53,994 --> 00:01:56,108
找到问题的原因
47
00:01:56,108 --> 00:01:57,752
问题的解决方案
48
00:01:57,752 --> 00:02:00,806
这么几个级别跳来跳去
49
00:02:00,806 --> 00:02:02,920
所以呢,不能叫分解
50
00:02:02,920 --> 00:02:03,390
因为
51
00:02:04,880 --> 00:02:07,190
解决方案不是问题的分解
52
00:02:07,190 --> 00:02:07,820
对不对
53
00:02:07,820 --> 00:02:09,920
原因也不是问题的分解
54
00:02:09,920 --> 00:02:10,340
对吧
55
00:02:10,340 --> 00:02:12,650
它们都不是一个级别的
56
00:02:12,650 --> 00:02:17,480
但如果说,问题有子问题,这种是分解
57
00:02:17,480 --> 00:02:18,320
你看这里
58
00:02:21,110 --> 00:02:21,319
59
00:02:21,319 --> 00:02:23,626
有污染的水源、净化器需要
60
00:02:23,626 --> 00:02:25,514
但又不是过滤器
61
00:02:25,514 --> 00:02:25,934
对吧
62
00:02:25,934 --> 00:02:29,290
这相当于一开始列了一些条件了
63
00:02:29,570 --> 00:02:29,790
64
00:02:29,790 --> 00:02:33,980
所以呢,你看,它决定就有这个经济的过滤器(应为蒸馏器)
65
00:02:34,380 --> 00:02:35,070
66
00:02:35,890 --> 00:02:36,830
这个
67
00:02:37,110 --> 00:02:40,576
那下面这个就可以认为是什么
68
00:02:40,576 --> 00:02:41,660
可以认为是
69
00:02:41,940 --> 00:02:44,530
是这一条的分解
70
00:02:44,810 --> 00:02:45,024
71
00:02:45,024 --> 00:02:48,020
这一条的分解,5.1, 5.2这个
72
00:02:49,520 --> 00:02:53,282
但是,你看,这个可以看作是一个推导的过程
73
00:02:53,282 --> 00:02:53,658
对吧
74
00:02:53,658 --> 00:02:55,540
推导的一个过程
75
00:02:57,530 --> 00:02:59,280
那下面我们来画一下
76
00:03:03,420 --> 00:03:04,074
怎么画
77
00:03:04,074 --> 00:03:05,820
你看,在使命声明这里
78
00:03:06,410 --> 00:03:07,110
79
00:03:08,130 --> 00:03:09,430
添加一个
80
00:03:11,990 --> 00:03:12,337
81
00:03:12,337 --> 00:03:13,380
需求图
82
00:03:13,670 --> 00:03:13,874
83
00:03:13,874 --> 00:03:15,920
那个图的名字叫什么呀
84
00:03:16,400 --> 00:03:18,290
那我们就按照这个来
85
00:03:18,650 --> 00:03:18,892
86
00:03:18,892 --> 00:03:20,346
解构需求,对吧
87
00:03:20,346 --> 00:03:22,770
我们就按照这个,解构需求
88
00:03:30,490 --> 00:03:30,759
好
89
00:03:30,759 --> 00:03:32,911
你看,刚好对照过来
90
00:03:32,911 --> 00:03:33,450
对吧
91
00:03:35,430 --> 00:03:37,460
既然这个图里面
92
00:03:37,740 --> 00:03:39,181
示意的是这个
93
00:03:39,181 --> 00:03:42,474
我们就先画这个5这个好了
94
00:03:42,474 --> 00:03:43,710
先画5这个
95
00:03:43,990 --> 00:03:44,630
怎么画
96
00:03:44,630 --> 00:03:44,843
97
00:03:44,843 --> 00:03:46,123
需求在这里嘛
98
00:03:46,123 --> 00:03:46,550
对吧
99
00:03:47,080 --> 00:03:48,850
放上一条
100
00:03:49,430 --> 00:03:50,960
然后它名字叫什么
101
00:03:50,960 --> 00:03:52,490
我们把那个文本
102
00:03:54,230 --> 00:03:54,900
这里
103
00:03:55,220 --> 00:03:55,536
104
00:03:55,536 --> 00:03:57,120
把这个删掉
0
00:00:00,530 --> 00:00:03,380
你看,我们这里是经济的过滤器(应为蒸馏器)
1
00:00:04,910 --> 00:00:06,240
名字是这个
2
00:00:11,470 --> 00:00:13,150
那么它的ID
3
00:00:13,560 --> 00:00:15,427
和这个放哪里呢
4
00:00:15,427 --> 00:00:15,694
5
00:00:15,694 --> 00:00:17,562
ID是这个
6
00:00:17,562 --> 00:00:18,630
ID放哪里
7
00:00:19,340 --> 00:00:20,860
ID在这里
8
00:00:24,270 --> 00:00:29,190
这个地方是给SysML专用的
9
00:00:29,660 --> 00:00:32,290
copy进去,文本就这个了
10
00:00:37,510 --> 00:00:37,915
11
00:00:37,915 --> 00:00:39,130
在这里copy
12
00:00:39,900 --> 00:00:40,890
粘贴
13
00:00:40,890 --> 00:00:41,220
好
14
00:00:41,220 --> 00:00:42,870
这是一个了
15
00:00:43,300 --> 00:00:44,340
下一个
16
00:00:45,200 --> 00:00:46,240
5.1
17
00:00:52,570 --> 00:00:53,442
简单
18
00:00:53,442 --> 00:00:54,897
不是,5.1
19
00:00:54,897 --> 00:00:55,770
是这个
20
00:00:56,050 --> 00:00:57,120
21
00:01:00,230 --> 00:01:00,520
22
00:01:00,520 --> 00:01:02,840
名字是简单蒸馏器
23
00:01:12,120 --> 00:01:13,200
你看这个
24
00:01:13,880 --> 00:01:16,140
客户想,一大堆这个
25
00:01:16,920 --> 00:01:17,580
26
00:01:25,030 --> 00:01:25,900
好
27
00:01:26,220 --> 00:01:27,580
下一条
28
00:01:28,390 --> 00:01:29,450
5.2
29
00:01:34,520 --> 00:01:35,920
ID是这个
30
00:01:39,600 --> 00:01:41,425
名字项目范围(1)
31
00:01:41,425 --> 00:01:41,730
32
00:01:48,010 --> 00:01:50,030
文本是这个
33
00:01:58,150 --> 00:01:59,060
好
34
00:02:01,110 --> 00:02:03,440
得到了3条
35
00:02:03,740 --> 00:02:04,634
需求,对吧
36
00:02:04,634 --> 00:02:06,870
那我们看,对照一下这里
37
00:02:07,310 --> 00:02:07,930
38
00:02:09,510 --> 00:02:10,470
3条
39
00:02:11,210 --> 00:02:13,077
那怎么把它显示出来呢
40
00:02:13,077 --> 00:02:15,878
把ID这些显示出来
41
00:02:15,878 --> 00:02:16,812
跟这个一样
42
00:02:16,812 --> 00:02:16,998
43
00:02:16,998 --> 00:02:18,119
跟这个图一样
44
00:02:18,119 --> 00:02:19,800
要把这个ID,还有那个
45
00:02:20,970 --> 00:02:22,246
文本显示出来
46
00:02:22,246 --> 00:02:24,290
那右键点这个图
47
00:02:24,740 --> 00:02:26,170
Properties这里
48
00:02:28,190 --> 00:02:29,220
elements
49
00:02:30,160 --> 00:02:31,143
这个tag这里
50
00:02:31,143 --> 00:02:31,340
51
00:02:31,340 --> 00:02:36,060
因为刚才那个ID什么是它的一个扩展的
52
00:02:36,340 --> 00:02:38,980
扩展的一个栏,在这里
53
00:02:39,490 --> 00:02:40,670
把这个选上
54
00:02:41,100 --> 00:02:42,510
你看,就出来了
55
00:02:42,510 --> 00:02:42,980
对吧
56
00:02:42,980 --> 00:02:43,920
缩小一点
57
00:02:44,580 --> 00:02:45,710
58
00:02:46,570 --> 00:02:47,600
放大一点
59
00:02:53,440 --> 00:02:53,970
60
00:02:57,410 --> 00:02:59,067
如果你地方不够大了
61
00:02:59,067 --> 00:03:00,910
你可以把它隐藏起来
62
00:03:01,190 --> 00:03:02,270
隐藏起来
63
00:03:20,150 --> 00:03:20,401
好
64
00:03:20,401 --> 00:03:22,410
我们可以对比一下
65
00:03:22,410 --> 00:03:24,169
5.1是吧
66
00:03:24,169 --> 00:03:25,927
text等于这个
67
00:03:25,927 --> 00:03:26,179
68
00:03:26,179 --> 00:03:28,440
5.2,text等于这个
69
00:03:29,040 --> 00:03:31,460
ID,MS.5
70
00:03:31,460 --> 00:03:32,560
这里
71
00:03:32,560 --> 00:03:34,980
这样对照过来,经济的过滤器(应为蒸馏器)
72
00:03:36,190 --> 00:03:39,670
那这里就有一个十字这个
73
00:03:40,340 --> 00:03:40,608
74
00:03:40,608 --> 00:03:41,680
这是一个
75
00:03:42,970 --> 00:03:45,970
包含,或者嵌套的一个关系
76
00:03:46,610 --> 00:03:47,963
那么这个怎么画
77
00:03:47,963 --> 00:03:48,978
你可以在这里
78
00:03:48,978 --> 00:03:51,346
你看,那个圈圈在这里
79
00:03:51,346 --> 00:03:51,853
也可以
80
00:03:51,853 --> 00:03:52,530
你在这里
81
00:03:52,810 --> 00:03:54,380
这样画上去
82
00:03:55,000 --> 00:03:55,331
83
00:03:55,331 --> 00:03:57,650
然后这里,选这个
84
00:03:58,370 --> 00:03:58,551
85
00:03:58,551 --> 00:04:00,004
就有个圈出来
86
00:04:00,004 --> 00:04:01,275
也可以从这里选
87
00:04:01,275 --> 00:04:01,638
对吧
88
00:04:01,638 --> 00:04:02,910
也可以从这里选
89
00:04:03,190 --> 00:04:04,960
这样画上来,也可以
90
00:04:05,600 --> 00:04:06,052
哎哎
91
00:04:06,052 --> 00:04:07,410
反了
92
00:04:10,360 --> 00:04:13,020
这里选,这样画上来
93
00:04:16,510 --> 00:04:20,845
那怎么把它变成一棵树
94
00:04:20,845 --> 00:04:23,140
就改变这个线的风格
95
00:04:23,140 --> 00:04:23,650
这里
96
00:04:29,280 --> 00:04:29,566
97
00:04:29,566 --> 00:04:30,710
这样来
98
00:04:34,700 --> 00:04:35,410
99
00:04:40,830 --> 00:04:41,720
这样来
100
00:04:42,140 --> 00:04:43,710
这就是那个
101
00:04:44,540 --> 00:04:46,480
幻灯片示意图上
102
00:04:47,360 --> 00:04:48,306
那个图嘛
103
00:04:48,306 --> 00:04:48,780
对吧
104
00:04:49,410 --> 00:04:50,540
那其他的
105
00:04:51,840 --> 00:04:52,185
106
00:04:52,185 --> 00:04:53,220
我们就
107
00:04:53,530 --> 00:04:56,247
在这个演示里面就不放进去了
108
00:04:56,247 --> 00:04:57,606
否则时间太多了
109
00:04:57,606 --> 00:04:57,994
对吧
110
00:04:57,994 --> 00:04:59,935
我们就把它做好了
111
00:04:59,935 --> 00:05:01,100
再演示出来