Online Store Application Design  -  continue

 

 

Finite State Machine for Customer IC

 

 
 

 

 

 

 

 

 

 

 

 


S20 : initial state.

 

S21 : At this state, customer IC performs placing order action. Outputs “order information” (include credit card information) to

       company IC.

 

S22 : When “order confirmed” message arrives, customer IC knows order is available. It changes to S22 to wait for order.

 

S23 : When the products arrive, customer IC’s state changes to S23. Action performed is to pick up the products.