Hi, I am currently working on an elevator simulation in MS Visual C# that will eventually involve at least 2, preferrably 3 elevators running across 5 floors.
There is currently one elevator that will service all floors when a call button is pressed, though adding a 2nd one brings up the problem of which to send.
My form currently includes call buttons for the ground floor and top floor, and up and down buttons for the 1st,2nd and 3rd floors. There are also two timers for the elevator, one to determine the next floor, which it does so by referring to the lift direction and checking a request array. The other timer moves the lift accordingly.
Now obviously, the two elevators can both be at any floor at any time, so handing out requests can depend on a number of variables (lift direction, position and requests).
Hoping someone can help or suggest what direction i can go with this program and if theres any questions just ask I'll provide all the information.
Thankyou in advance