Java Reference
In-Depth Information
11.2.2
Main features
Three main features characterize the development of the car parking
system: the control system architecture, the interaction between the access
control system and the car, and the graphical animation.
Control system architecture . The simulator is a concurrent software
application structured as a hierarchical client
server system. The system
components synchronize by exchange of events.
-
Car
system interaction . The application should simulate the physical
interaction between the car and the photocells and between the car
driver, the ticket dispenser and the stopping bar.
-
Graphical animation . The simulator should animate the cars and the
physical devices.
11.2.3
Test
Two main functionalities need to be tested carefully: the communication
and synchronization mechanisms between the system components, and the
correct behaviour of the car, the physical devices and the controller.
11.3
Architecture and planning
The system architecture is organized into three control layers (see Figure
11.2). The lower layer includes the physical devices that make up the access
lane. The middle layer includes the car and the controller that interact with
the access lane. The upper layer is made up of the graphical user interface
that visualizes the cars moving within the access lane.
GUI
draws
updates
updates
Car
Controller
draws
updates
interact
interact
Access lane
Figure 11.2 The system architecture
 
 
Search WWH ::




Custom Search