#include <imo.h>
Data Fields | |
| char | last_port [6] |
| 5x6 (30) bits : Last Port of Call UN Locode | |
| timetag | atd |
| 20 bits : Actual Time of Departure | |
| char | next_port [6] |
| 5x6 (30) bits : Last Port of Call UN Locode | |
| timetag | eta |
| 20 bits : Estimated Time of Arrival | |
| char | good [21] |
| 20x6 (120) bits : Main Dangerous Good | |
| char | imd [5] |
| 4x6 (24) bits : IMD Category of Main Dangerous Good | |
| int | un_number |
| 13 bits : UN Number 1-3363 0=not available | |
| int | quantity |
| 10 bits : Quantity of Main Dangerous Good | |
| char | units |
| 2 bits : 0=not avail. 1=kg 2=tons (1E3kg) 3=1000tons(1E6kg) | |
| char | spare |
| 3 bits : spare | |
| char imo1_12::last_port[6] |
5x6 (30) bits : Last Port of Call UN Locode
20 bits : Actual Time of Departure
| char imo1_12::next_port[6] |
5x6 (30) bits : Last Port of Call UN Locode
20 bits : Estimated Time of Arrival
| char imo1_12::good[21] |
20x6 (120) bits : Main Dangerous Good
| char imo1_12::imd[5] |
4x6 (24) bits : IMD Category of Main Dangerous Good
13 bits : UN Number 1-3363 0=not available
10 bits : Quantity of Main Dangerous Good
| char imo1_12::units |
2 bits : 0=not avail. 1=kg 2=tons (1E3kg) 3=1000tons(1E6kg)
| char imo1_12::spare |
3 bits : spare
1.5.2