Suoritettu

State machine digram

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.

Taidot: tietojärjestelmäarkkitehtuuri, UML-suunnittelu

Näytä lisää: vhdl lock state machine, vhdl state machine lock, state machine vhdl combination lock, test bench state machine, wiznet ethernet state machine, simple state machine, create level state machine regulates freezer, create level state machine regulates freezer temperature, state machine compiler gui, xmi state machine scxml, smc finite state machine compiler, finite state machine visual studio, visual studio finite state machine, ivr state machine, dialogic state machine

Tietoa työnantajasta:
( 0 arvostelua ) Riyadh, Saudi Arabia

Projektin tunnus: #16318371

Myönnetty käyttäjälle:

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 Lisää

$20 USD 1 päivässä
(0 Arvostelua)
0.0

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

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 Lisää

$30 USD 1 päivässä
(515 arvostelua)
7.0
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 1 päivässä
(123 arvostelua)
6.7
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 Lisää

$120 USD 2 päivässä
(15 arvostelua)
5.2
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 Lisää

$45 USD 1 päivässä
(3 arvostelua)
2.5
$77 USD 1 päivässä
(4 arvostelua)
2.4
$25 USD 1 päivässä
(1 arvostelu)
2.7