1
0
Fork 0

Pass along beacon, control tower, and windsock data.

This commit is contained in:
curt 2004-04-14 14:32:22 +00:00
parent b5894d473f
commit 66cf156a77

View file

@ -260,6 +260,15 @@ while ( <> ) {
$apt_id, $F[1], $F[2], $F[4], $F[5], $F[8], $apt_id, $F[1], $F[2], $F[4], $F[5], $F[8],
$taxi_codes ); $taxi_codes );
} }
} elsif ( $F[0] == 14 ) {
# control tower
printf("C %10.6f %11.6f %d\n", $F[1], $F[2]);
} elsif ( $F[0] == 18 ) {
# light beacon
printf("B %10.6f %11.6f %d\n", $F[1], $F[2], $F[3]);
} elsif ( $F[0] == 19 ) {
# windsock
printf("W %10.6f %11.6f %d\n", $F[1], $F[2], $F[3]);
} else { } else {
# something we don't know how to handle right now # something we don't know how to handle right now
} }