- Remain idle at Floor 1 until an Indication Button is pressed by a commuter.
- The Indication Button will either be the Up Button or the Down Button.
- When the Indication Button is pressed either open the doors if the button was pressed at Floor 1, or move to the floor that the button was pressed on if the indication came from a higher floor.
- Once the elevator doors are open, leave them open for a minimum of 20 seconds.
- If there are blockages that are preventing the doors from closing then remain open until the blockages have cleared.
- After the commuter has entered the elevator and pressed a Floor Button to signal the floor they would like to arrive at, commence motion.
- Move to the floor number that corresponds to the Floor Button that was pressed uninterrupted unless an Indication Button is pressed by another commuter during the trip.
- If another commuter presses a button for a floor that the elevator has yet to pass, then stop on the floor that the signal came from and repeat the process of opening and closing the doors mentioned previously in Step Two.
- Move to all of the desired floor and allow the commuters to exit.
- Once all commuters have reached their destinations and all of the commands given by the Indication and Floor Buttons have been executed, return the elevator to Floor One.
- Remain idle until another commuter presses an Indication Button and activates the elevator again.
There’s a lot of good work here, Waffles.
By now you either saw in class or perhaps have learned from the Daily Agenda of the extraordinary work submitted by Crabs on this assignment. I will grade this draft of yours and let you decide whether to make improvements.
A few observations about your own instructions:
YOUR INSTRUCTIONS:
THE DOOR SECTION
THE TRAVEL SECTION
GIVE WAFFLES A BREAK, DH.
Anyway, Waffles, as a general rule, you can ignore passengers (commuters) completely from your instructions. The elevator doesn’t know what they are. It responds to button presses and rules, period.
I’ll hold off on grading this until you put it into Grade Please. Otherwise, you can put it back into Feedback Please at any time following improvements.
Too late. Grading everybody this morning. Put this back into Grade Please following any significant improvements.