As an air traffic controller So I can get passengers to a destination I want to instruct a plane to land at an airport
air traffic controller, passengers, destination, plane, airport
get, instruct, land
Objects:
- plane
- airport
Messages:
- land
Airport <--land--> Plane
##################################
As an air traffic controller So I can get passengers on the way to their destination I want to instruct a plane to take off from an airport and confirm that it is no longer in the airport
air traffic controller, passengers, destination, plane, airport
get, instruct, take off, confirm
Objects:
- Airport
- Plane
Messages:
- take_off
- left_airport?
Airport <--take_off--> Plane
Plane <--left_airport?--> true
##################################
As an air traffic controller To ensure safety I want to prevent landing when the airport is full
air traffic controller, safety, airport, full
ensure, prevent, landing
Objects:
- Airport
- Plane
Messages:
- landing
- full?
Airport <--landing--> Plane
Airport <--full?--> true/false
##################################
As the system designer So that the software can be used for many different airports I would like a default airport capacity that can be overridden as appropriate
Objects:
- Airport
Messages:
- set_capacity
Airport <--set_capacity--> num
##################################
As an air traffic controller To ensure safety I want to prevent takeoff when weather is stormy
Objects:
- Airport
- Weather
- Plane
Messages:
- prevent_take_off
Airport <--take_off--> Plane Weather <--stormy?--> ture/false
##################################
As an air traffic controller To ensure safety I want to prevent landing when weather is stormy
Objects:
- Airport
- Weather
- Plane
Messages:
- prevent_landing
Airport <--land--> Plane Weather <--stormy?--> true/false
##################################
- planes can only take off from airports they are in;
- planes that are already flying cannot take off and/or be in an airport; (when plane lands left_airport? should be false)
- planes that are landed cannot land again and must be in an airport
##################################