State machine digram

Completado Publicado hace 6 años Pagado a la entrega
Completado Pagado a la entrega

Consider a subway turnstile.

1. Normal Logic:

The turnstile has only two states. It can

be locked, or it can be unlocked. When

the state machine diagram is first

activated, it will begin in the Locked

state. When a customer wants to pass

through the turnstile they must deposit a

coin. This causes the Coin event to occur. The Coin event, in the Locked state, causes the turnstile to transition to the Unlocked state, and causes the Unlock action to be invoked. Next the customer passes through the turnstile. This causes the Pass event to occur. The Pass event, in the Unlocked state, causes the turnstile to go back to the Locked state, and to invoke the Lock action.

- Draw state machine diagram that shows these two normal states.

2. Abnormal Logic:

What should we do if the turnstile is in the Locked state, but the user passes through anyway? Clearly we should add some kind of alarm. Note that the transition that handles this does not change the state. The turnstile remains in the Locked state. The other abnormal condition is when the turnstile is already unlocked and the customer deposits another coin. In this case, we light up a little “thank you” light.

- Show on the state machine diagram these two abnormal states.

3. Abnormal Logic with violation state:

if the turnstile is in the Locked state but the user passes through anyway, remaining in the Locked state is probably not the best approach for dealing with someone who has forced entry. Rather, we probably want to enter a Violation state. Moreover, we probably want to remain in that state until a repairman signals that the turnstile is ready for service.

- Show on the state machine diagram the violation state.

Arquitectura de software Diseño UML

Nº del proyecto: #16318371

Sobre el proyecto

6 propuestas Proyecto remoto Activo hace 6 años

Adjudicado a:

ayesha7shk

Consider a subway turnstile. 1. Normal Logic: The turnstile has only two states. It can be locked, or it can be unlocked. When the state machine diagram is first activated, it will begin in the Locked Más

$20 USD en 1 día
(7 comentarios)
2.8

6 freelancers están ofertando un promedio de $45 por este trabajo

NovaSofts

Hi There I have checked your project description and understand everything. I am very confident that i can do this project perfectly. As i have 10+ years of experience in this field. thanks

$30 USD en 1 día
(245 comentarios)
7.3
it2051229

Hi there, I do UML and I am familiar with State Machine diagrams. I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further de Más

$30 USD en 1 día
(575 comentarios)
7.1
Softeria

I have done MS Computer Software Engineering. I had a course on Software System Design and Architecture. I have worked on all 14 types of UML Diagrams. E.g. Class Diagram, Component Diagram, Deployment Diagram, Sequenc Más

$120 USD en 2 días
(19 comentarios)
5.4
jaballifiras

Sir, I'm expert with UMl modeling and software engineering. I'm very good with system/database modeling. I will deliver perfect diagram in both PNG and StarUML format. You can contact me & check my profile for pre Más

$45 USD en 1 día
(3 comentarios)
2.5