Cancel
Showing results for 
Search instead for 
Did you mean: 

Entrance lock

Pioneer
Pioneer

Hi all,

 

I am trying to implement an entrance lock for a service desk. As example, I would like to have a service desk and a waiting area, if a customer visits the desk it has to pass three proceedings. All the proceedings are carried out by one server.

 

Therefore, I want to lock the entrance if a customer has passed the first proceedings and the lock has to abrograte if the customer has left the desk. i have used a method as follows:

is
do
if ?=Proces_one then
Proces_one.entranceLocked:=true;
else
Proces_one.entranceLocked:=false;
end;   
end;
The method is an entrance control for the first single proc (Proces_one) and a rear exit control for the third sing proc (Process_three).

 

Nevertheless, the entrance hasnt been locked. Can someone provide me with some help how to solve this problem?

2 REPLIES

Re: Entrance lock

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the program should work, but your method in the model doesn't contain the programming.

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Entrance lock

Pioneer
Pioneer
Thanks a lot!