Class: NMEAPlus::Message::NMEA::DCN

Inherits:
NMEAMessage show all
Defined in:
lib/nmea_plus/message/nmea/dcn.rb

Instance Attribute Summary collapse

Attributes inherited from NMEAMessage

#message_type, #talker

Attributes inherited from Base

#checksum, #data_type, #fields, #interpreted_data_type, #message_number, #next_part, #original, #payload, #prefix, #total_messages

Method Summary

Methods inherited from NMEAMessage

#_10_boolean, #_av_boolean

Methods inherited from Base

#_degrees_minutes_to_decimal, #_float, #_hex_to_integer, #_highest_contiguous_index, #_integer, #_interval_hms, #_nsew_signed_float, #_string, #_utc_date_time, #_utctime_hms, #add_message_part, #all_checksums_ok?, #all_messages_received?, #calculated_checksum, #checksum_ok?, field_reader, #highest_contiguous_index

Instance Attribute Details

#decca_chain_idObject (readonly)

Returns field 1 of the payload, formatted with the function Base#_integer.

Returns:

  • field 1 of the payload, formatted with the function Base#_integer



7
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 7

field_reader :decca_chain_id, 1, :_integer

#fix_data_basisObject (readonly)

Returns field 16 of the payload, formatted with the function Base#_integer.

Returns:

  • field 16 of the payload, formatted with the function Base#_integer



22
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 22

field_reader :fix_data_basis, 16, :_integer

#green_master_line_ok?Object (readonly)

Returns field 7 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



13
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 13

field_reader :green_master_line_ok?, 7, :_av_boolean

#green_position_lineObject (readonly)

Returns field 6 of the payload, formatted with the function Base#_float.

Returns:

  • field 6 of the payload, formatted with the function Base#_float



12
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 12

field_reader :green_position_line, 6, :_float

#green_zone_idObject (readonly)

Returns field 5 of the payload, formatted with the function Base#_string.

Returns:

  • field 5 of the payload, formatted with the function Base#_string



11
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 11

field_reader :green_zone_id, 5, :_string

#position_uncertaintyObject (readonly)

Returns field 14 of the payload, formatted with the function Base#_float.

Returns:

  • field 14 of the payload, formatted with the function Base#_float



20
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 20

field_reader :position_uncertainty, 14, :_float

#position_uncertainty_unitsObject (readonly)

Returns field 15 of the payload, formatted with the function Base#_string.

Returns:

  • field 15 of the payload, formatted with the function Base#_string



21
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 21

field_reader :position_uncertainty_units, 15, :_string

#purple_master_line_ok?Object (readonly)

Returns field 10 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



16
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 16

field_reader :purple_master_line_ok?, 10, :_av_boolean

#purple_position_lineObject (readonly)

Returns field 9 of the payload, formatted with the function Base#_float.

Returns:

  • field 9 of the payload, formatted with the function Base#_float



15
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 15

field_reader :purple_position_line, 9, :_float

#purple_zone_idObject (readonly)

Returns field 8 of the payload, formatted with the function Base#_string.

Returns:

  • field 8 of the payload, formatted with the function Base#_string



14
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 14

field_reader :purple_zone_id, 8, :_string

#red_master_line_ok?Object (readonly)

Returns field 4 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



10
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 10

field_reader :red_master_line_ok?, 4, :_av_boolean

#red_position_lineObject (readonly)

Returns field 3 of the payload, formatted with the function Base#_float.

Returns:

  • field 3 of the payload, formatted with the function Base#_float



9
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 9

field_reader :red_position_line, 3, :_float

#red_zone_idObject (readonly)

Returns field 2 of the payload, formatted with the function Base#_string.

Returns:

  • field 2 of the payload, formatted with the function Base#_string



8
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 8

field_reader :red_zone_id, 2, :_string

#use_green_line_navigation?Object (readonly)

Returns field 12 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



18
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 18

field_reader :use_green_line_navigation?, 12, :_av_boolean

#use_purple_line_navigation?Object (readonly)

Returns field 13 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



19
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 19

field_reader :use_purple_line_navigation?, 13, :_av_boolean

#use_red_line_navigation?Object (readonly)

Returns field 11 of the payload, formatted with the function NMEAMessage#_av_boolean.

Returns:



17
# File 'lib/nmea_plus/message/nmea/dcn.rb', line 17

field_reader :use_red_line_navigation?, 11, :_av_boolean