Download View/Open

Transcript
Code#
System or Systems
Installed
NONE
Installed eductor
Installed exhaust fan
Active sprinkler svstem
Dr\- standpipe sprinkler
1
2
3
4
5
6
7
C02 Flooding svstem
C02 Hose Reel
8
TAPES
AFFF Sprinkler
AFFF Hose Reel
HALON. TAU. and C02 Hose
AFFF HR and C02 Hose Reel
'
HALON
Twin Aeent Unit or
9
10
11
12
Codes
Figure 3.14
for Installed
records of compartment data in a linked
were kept together. All the records
single linked
list.
The
linked
lists
for the
structure for the
starting at the
as
possible,
compartment
main
Damage
Control Systems.
of records, compartments in the same zone
compartments on
a deck or a level are in a
compartment number
had a great impact on the design of the data
records.
Decks on
or highest complete deck
above the main deck are labeled 01, 02,
to handle the
make
desire to
as close to the actual
a ship are
numbered
deck or
etc.
level
1,
2,
etc.
3,
on the ship and going down thru the
lowest deck at the keel. For this prototype program the 6th deck
program needs
The
are in an array by deck or level.
the users entry format for the ship's
compartment number
list
Reel
up
is
at the keel. Levels
on the
to the highest level
number
as
an integer
ship.
The
in order to find the
required information on a given compartment and to determine what compartments,
any
in
the area might need to be evacuated. Since an 01
interpreted as the integer
if
the
compartment
is
1,
a boolean field in the
above the main deck.
A
and
a
1
compartment record
separate array of linked
would both be
is set
lists
to indicate
of records
used for the compartments above the main deck and another array of linked
records
is
program
if
lists
is
of
used for the compartments on the main deck and below. This allows the
to access the right
The records
for the
compartment, codes
compartment.
compartments contain
to secure the
power and
fields for the detailed location
ventilation, code for
what zone
it
of the
is
in,
code for the use of the space, a code for the piping systems that pass through the
26