-
There are two entry gates (Entry1 and Entry2) and one token counter (T1 and T2) for each gate.
-
Customer needs to collect token from any of the token counter.
-
Unique token should be generated concurrently. For example, if counter T1 generates token number 4 and at the same time, another token is being generated from counter T2, it should be 5. There should not be any inconsistency.
-
There are two Complaint Counter (C1 and C2) and both of them have their individual display screen (D1 and D2 respectively)
-
Display screen can display at most three numbers at a time. Same token number should not be displayed in both the screen.
-
Customers with remaining tokens need to wait in Waiting area.
-
Once Complaint will be resolved for any token, Display screen will remove that number and add new token number from waiting queue.
Can anyone suggest how to design the above problem.
Aucun commentaire:
Enregistrer un commentaire