WEBVTT

00:00:07.520 --> 00:00:10.040
<font face="HK Grotesk">Hi and welcome to this short introduction</font>

00:00:10.050 --> 00:00:11.450
<font face="HK Grotesk"> To the most important actions</font>

00:00:11.510 --> 00:00:13.240
<font face="HK Grotesk">Of MES Model and Refactor</font>

00:00:13.260 --> 00:00:14.520
<font face="HK Grotesk">From the Bus category.</font>

00:00:16.160 --> 00:00:18.920
<font face="HK Grotesk">I want to show you three of
the most important actions</font>

00:00:19.060 --> 00:00:20.080
<font face="HK Grotesk">In a common use case</font>

00:00:20.240 --> 00:00:23.560
<font face="HK Grotesk">That is about refactoring
the interface of a subsystem.</font>

00:00:26.720 --> 00:00:29.240
<font face="HK Grotesk">The first action is called Create Bus.</font>

00:00:31.599 --> 00:00:34.620
<font face="HK Grotesk">This action can be used
to convert unconnected signals</font>

00:00:35.760 --> 00:00:39.400
<font face="HK Grotesk">But especially already
connected signals into a bus.</font>

00:00:51.280 --> 00:00:53.760
<font face="HK Grotesk">In order to preserve the
functionality of the model</font>

00:00:53.820 --> 00:00:56.080
<font face="HK Grotesk">The action creates bus selectors</font>

00:00:56.080 --> 00:00:59.000
<font face="HK Grotesk">For each signal directly after
the new bus creator.</font>

00:01:01.280 --> 00:01:03.730
<font face="HK Grotesk">This action is usually used
as a preparation</font>

00:01:03.760 --> 00:01:05.200
<font face="HK Grotesk">For further refactorings.</font>

00:01:08.159 --> 00:01:10.080
<font face="HK Grotesk">To simplify further refactorings</font>

00:01:10.460 --> 00:01:13.060
<font face="HK Grotesk">I will now merge the
individual bus selectors</font>

00:01:13.680 --> 00:01:15.240
<font face="HK Grotesk">Into one bus selector</font>

00:01:15.660 --> 00:01:17.940
<font face="HK Grotesk">Using the Merge Bus Selectors action</font>

00:01:18.560 --> 00:01:20.800
<font face="HK Grotesk">From the Bus category of MES MoRe.</font>

00:01:36.400 --> 00:01:38.840
<font face="HK Grotesk">To refactor the interface of the subsystem</font>

00:01:39.300 --> 00:01:42.079
<font face="HK Grotesk">I will move the new bus selector
into this subsystem</font>

00:01:42.500 --> 00:01:44.240
<font face="HK Grotesk">Using the Move Blocks Down action</font>

00:01:44.620 --> 00:01:46.840
<font face="HK Grotesk">From the partition category of MES MoRe.</font>

00:02:02.700 --> 00:02:05.801
<font face="HK Grotesk">Now you can see that the interface
of the subsystem has changed</font>

00:02:06.200 --> 00:02:09.680
<font face="HK Grotesk">So that now only the bus
goes into the subsystem</font>

00:02:09.699 --> 00:02:11.520
<font face="HK Grotesk">Instead of the individual signals.</font>

00:02:15.520 --> 00:02:18.920
<font face="HK Grotesk">The bus selector is now located
inside the subsystem</font>

00:02:21.440 --> 00:02:23.360
<font face="HK Grotesk">Here you can see that further refactoring</font>

00:02:23.420 --> 00:02:26.300
<font face="HK Grotesk">Is complicated by the fact that
some of the selected signals</font>

00:02:26.380 --> 00:02:27.840
<font face="HK Grotesk">Go to the upper subsystem</font>

00:02:28.160 --> 00:02:30.800
<font face="HK Grotesk">And some of the signals
go to the lower subsystem.</font>

00:02:34.879 --> 00:02:36.459
<font face="HK Grotesk">To simplify things, I could start</font>

00:02:36.480 --> 00:02:38.680
<font face="HK Grotesk">Re-sorting the signals
in the bus selector.</font>

00:02:39.300 --> 00:02:41.680
<font face="HK Grotesk">But this is something
you don't want to do manually.</font>

00:02:43.360 --> 00:02:46.400
<font face="HK Grotesk">With MES MoRe, I can simply
select the bus selector block</font>

00:02:46.800 --> 00:02:52.380
<font face="HK Grotesk">And use the
Split Bus Selector By Destination Blocks action</font>

00:02:52.820 --> 00:02:54.800
<font face="HK Grotesk">From the Bus category of MES MoRe.</font>

00:03:01.120 --> 00:03:04.880
<font face="HK Grotesk">This action re-sorts the ports
and splits the bus selector</font>

00:03:04.969 --> 00:03:08.510
<font face="HK Grotesk">So that each of the destination blocks
has its own bus selector.</font>

00:03:12.640 --> 00:03:15.040
<font face="HK Grotesk">This simplifies further refactoring</font>

00:03:15.059 --> 00:03:18.019
<font face="HK Grotesk">And can also be used to improve
the layout of a subsystem.</font>

00:03:19.680 --> 00:03:21.929
<font face="HK Grotesk">In this case I can just
clean up the layout</font>

00:03:21.959 --> 00:03:25.319
<font face="HK Grotesk">By using the
Adjust Blocks to Destinations action</font>

00:03:25.600 --> 00:03:28.000
<font face="HK Grotesk">From the layout category of MES MoRe.</font>

00:03:37.320 --> 00:03:39.360
<font face="HK Grotesk">If I want to continue the refactoring</font>

00:03:39.450 --> 00:03:43.099
<font face="HK Grotesk">I could also reduce the interface
of the subordinate subsystems</font>

00:03:45.980 --> 00:03:48.740
<font face="HK Grotesk">By moving the bus selectors
down one more level.</font>

00:04:13.380 --> 00:04:15.899
<font face="HK Grotesk">So the Bus actions can be
used very efficiently</font>

00:04:16.030 --> 00:04:17.700
<font face="HK Grotesk"> In combination with other actions.</font>

00:04:17.759 --> 00:04:21.558
<font face="HK Grotesk">For example to change the interface
of subsystems as you've seen</font>

00:04:21.610 --> 00:04:22.911
<font face="HK Grotesk">In this example here.</font>

