Oct 1 Dispatch and Track Vehicles Use Case

advertisement
Use case name: Dispatch and Track Vehicles
Reuse category: Kernel
Summary: The Police Station Coordinator and the Fire Station Coordinator dispatch police vehicles and
fire trucks respectively to and from the crisis location and continually update the vehicle location status
for each vehicle
Actors: Police Station Coordinator (PSC), Fire Station Coordinator (FSC) and Timer
Dependency: None
Preconditions: The routes to the crisis location for the police vehicles and the fire trucks have been
agree to by the PSC and the FSC or the PSC and the FSC have agreed not to coordinate routes
Description:
1. As each planned vehicle departs the station, responsible coordinator modifies the location from
Station to enrouteToLocation.2. PSC and FSC update location status by vehicle for police vehicles
and fire trucks respectively from enrouteToLocation to atLocation as each vehicle arrives at the
crash location.
3. <<Redeployment>>
1. 4. PSC and FSC update location status by vehicle for police vehicles and fire trucks respectively
from atLocation to enrouteReturn as each vehicle completes its objective and leaves the crash
location.
Alternatives:
At step 2 a police vehicle or a fire truck does not reach its destination by its ETA because of the vehicle
breakdown.
2.a: If the broken down vehicle can be repaired quickly enough, the PSC for a police vehicle or the FSC
for a fire truck updates the vehicle’s ETA. If a replacement vehicle is sent, the PSC or the FSC modifies
the record of the broken down vehicle to reflect the vehicle ID of the replacement vehicle and updates
the ETA value.
At step 4 the crisis is less severe than expected so a police vehicle and a fire truck are recalled
4.a: PSC sets the location status of the specific vehicles being recalled to enrouteReturn and the FSC sets
the location status of the specific fire trucks being recalled to enrouteReturn.
4.b: Continue with step 4
At step 2, when a police or fire vehicle does not reach the crisis location with the ETA because of traffic
or a blocked route, include Negotiate Routes use case and continue with step 3.
At step 4, when the crisis is more severe than expected, include Negotiate Routes use case and continue
with steps 1, 2 and 3 as needed.
Variation Points
Name: FSC to Fire Truck
Type of functionality: Optional
Line numbers: 1, 2, 3, 4
Description of functionality: FSC sends and receives messages with fire department vehicles.
Name: PSC to Civilian Car
Type of functionality: Optional
Line numbers: 1, 2,4
Description of functionality: PSC sends and receives messages with civilian vehicles
Name: PSC to Police Vehicle
Type of functionality: Optional
Line numbers: 1, 2,3,4
Description of functionality: PSC sends and receives messages with police vehicles
2
<<Redeployment>>
Postcondition: All dispatched vehicles have departed the crash location having completed their
objective or having been recalled as not needed.
Outstanding questions:
Download