Method: NMEAPlus::Message::AIS::VDMPayload::MMSIInfo#category_description
- Defined in:
-
lib/nmea_plus/message/ais/vdm_payload/mmsi_info.rb,
lib/nmea_plus/message/ais/vdm_payload/mmsi_info.rb more...
The MMSI category as defined by ITU-R M.585-7
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/nmea_plus/message/ais/vdm_payload/mmsi_info.rb', line 50 def category_description case category when :individual_ship then "Individual ship" when :coast_station then "Coast station" when :harbor_station then "Harbor station" when :pilot_station then "Pilot station" when :ais_repeater_station then "AIS repeater station" when :sar_aircraft then "SAR aircraft" when :sar_aircraft_fixed then "SAR fixed-wing aircraft" when :sar_aircraft_helicopter then "SAR helicopter" when :aton_physical then "Physical AIS AtoN" when :aton_virtual then "Virtual AIS AtoN" when :aton then "AIS Aid to Navigation" when :auxiliary_craft then "Auxiliary craft" when :handheld then "Handheld transceiver" when :sar_transmitter then "AIS-SART" when :man_overboard then "MOB (Man Overboard)" when :epirb then "EPIRB" else category.to_s end end |