Carregar apresentação
A apresentação está carregando. Por favor, espere
PublicouMarisa Assunção Andrade Alterado mais de 8 anos atrás
1
MAC 0332 - Engenharia de Software Marco A. GerosaIME / USP Mais sobre análise e Outros Diagramas UML MAC0332 Engenharia de Software Marco Aurélio Gerosa gerosa@ime.usp.br
2
MAC 0332 - Engenharia de Software Tipos de classes Marco A. Gerosa2IME / USP
3
MAC 0332 - Engenharia de Software Diagrama de colaboração Marco A. Gerosa3IME / USP
4
MAC 0332 - Engenharia de Software Diagrama de Sequência Marco A. Gerosa4IME / USP
5
MAC 0332 - Engenharia de Software Diagrama de estados Marco A. Gerosa5IME / USP
6
MAC 0332 - Engenharia de Software Exemplo prático A product is to be installed to control n elevators in a building with m floors. The problem concerns the logic required to move elevators between floors according to the following constraints: 1.Each elevator has a set of m buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is canceled when the corresponding floor is visited by the elevator 2.Each floor, except the first and the top floor, has two buttons, one to request an up-elevator, one to request a down-elevator. These buttons illuminate when pressed. The illumination is canceled when an elevator visits the floor, then moves in the desired direction 3.If an elevator has no requests, it remains at its current floor with its doors closed Marco A. Gerosa6IME / USP
7
MAC 0332 - Engenharia de Software Use Case Marco A. Gerosa7IME / USP
8
MAC 0332 - Engenharia de Software Diagrama de atividades Marco A. Gerosa8IME / USP
9
MAC 0332 - Engenharia de Software Diagrama de atividades com raias Marco A. Gerosa9IME / USP
10
MAC 0332 - Engenharia de Software Pacotes Marco A. Gerosa10IME / USP
11
MAC 0332 - Engenharia de Software Cenário (instância dos casos de uso) Marco A. Gerosa11IME / USP
12
MAC 0332 - Engenharia de Software Modelagem Identificação de substantivos Buttons in elevators and on the floors control the movement of n elevators in a building with m floors. Buttons illuminate when pressed to request the elevator to stop at a specific floor; the illumination is canceled when the request has been satisfied. When an elevator has no requests, it remains at its current floor with its doors closed Marco A. Gerosa12IME / USP
13
MAC 0332 - Engenharia de Software Modelagem Identificação de substantivos Buttons in elevators and on the floors control the movement of n elevators in a building with m floors. Buttons illuminate when pressed to request the elevator to stop at a specific floor; the illumination is canceled when the request has been satisfied. When an elevator has no requests, it remains at its current floor with its doors closed Classes candidatas: Elevador e Botão Subclasses candidatas: BotãoElevador e BotãoAndar Marco A. Gerosa13IME / USP
14
MAC 0332 - Engenharia de Software Modelagem Marco A. Gerosa14IME / USP Problema: Quem controla o conjunto de elevadores?
15
MAC 0332 - Engenharia de Software Uso de uma classe de controle Marco A. Gerosa15IME / USP
16
MAC 0332 - Engenharia de Software Diagrama de estados Marco A. Gerosa16IME / USP
17
MAC 0332 - Engenharia de Software Diagrama de estados mais elaborado Marco A. Gerosa17IME / USP
Apresentações semelhantes
© 2024 SlidePlayer.com.br Inc.
All rights reserved.