Hello Friends Could any one help me with doing Elevator simulator using c sharp.Please find attachment for Lift requirements.Thank you
Implement Elevator
1. Lift call. On a user pressing the lift button, either up or down, the software should be capable of routing this request to any live lift (a live lift is one that is not currently being serviced or one that is not inoperable and awaiting repairs)
2. Some algorithm that is able to efficiently determine which lift to service a lift call request. OrbaLift’s standard efficient algorithm approach is to handle the lift call request by the lift that is nearest to the floor where the call originated AND where the lift isn’t at maximum holding capacity (MHC) AND the lift is travelling in the direction that the lift call has been made (i.e., an up lift call has been made, so only live lifts travelling in the up direction should respond). Should no live lifts meet these criteria, then any stationary live lift should respond. You will need to consider how to do this efficiently—minimum travel distance is extremely important in order to reduce wear and tear on mechanical parts as well as unnecessary service calls.
3. Emergency handling. Your system should be able to handle alarm calls—these will be from one of two sources: either a request from someone inside a lift, or a fire alarm call. In the former case you should simply ensure your system writes an appropriate message to the screen stating the floor and lift identifier where the emergency call was made. In the case of the fire alarm you need to ensure your system prints an appropriate message to the screen showing that all lifts have stopped, on which floor they have stopped and they have entered a “lock-down” state where they will not respond to lift call requests.
4. System reset. This feature is designed to enable operators to reset the lift system and all lifts in response to an all-clear following a fire alarm. This should ensure that all locked down lifts enter the live lift status, unless they are currently being serviced or repaired.
5. Each lift should have associated with it the distance it has travelled. You can consider each floor to be 12 feet apart, and for the sake of the prototype have lifts enter a service state every 360 feet travelled.
6. Assumptions: Consider that your system will handle 4 lifts in a building that is 10 floors tall.