Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg6d235f10
- Inherits:
-
VDMMsg6DynamicPayload
- Object
- Payload
- VDMMsg6DynamicPayload
- NMEAPlus::Message::AIS::VDMPayload::VDMMsg6d235f10
- Defined in:
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb
Overview
Type 6: Binary Addressed Message Subtype: GLA Aid to Navigation Monitoring Data
Instance Attribute Summary collapse
-
#analog_external1 ⇒ Object
readonly
The field defined by the 10 bits starting at payload bit 98, formatted with the function Payload#_U(20, 0, ).
-
#analog_external2 ⇒ Object
readonly
The field defined by the 10 bits starting at payload bit 108, formatted with the function Payload#_U(20, 0, ).
-
#analog_internal ⇒ Object
readonly
The field defined by the 10 bits starting at payload bit 88, formatted with the function Payload#_U(20, 0, ).
-
#digital_input0? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 130, formatted with the function Payload#_b(, , ).
-
#digital_input1? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 129, formatted with the function Payload#_b(, , ).
-
#digital_input2? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 128, formatted with the function Payload#_b(, , ).
-
#digital_input3? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 127, formatted with the function Payload#_b(, , ).
-
#digital_input4? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 126, formatted with the function Payload#_b(, , ).
-
#digital_input5? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 125, formatted with the function Payload#_b(, , ).
-
#digital_input6? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 124, formatted with the function Payload#_b(, , ).
-
#digital_input7? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 123, formatted with the function Payload#_b(, , ).
-
#racon_alarm? ⇒ Object
readonly
The field defined by the 1 bits starting at payload bit 122, formatted with the function Payload#_b(, , ).
-
#racon_light_status ⇒ Object
readonly
The field defined by the 2 bits starting at payload bit 120, formatted with the function Payload#_u(, , ).
-
#racon_light_status_description ⇒ String
readonly
RACON light status description.
-
#racon_status ⇒ Object
readonly
The field defined by the 2 bits starting at payload bit 118, formatted with the function Payload#_u(, , ).
-
#racon_status_description ⇒ String
readonly
RACON status description.
Attributes inherited from Payload
#fill_bits, #payload_bitstring
Method Summary
Methods inherited from Payload
#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_integer_scaled_shifted, #_6b_negated_boolean, #_6b_string, #_6b_string_nullterminated, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_6b_unsigned_integer_scaled_shifted, #_8b_data_string, #_access, #_bit_slices, #_get_date_mdhm, #_object_by_name, #initialize, payload_reader
Constructor Details
This class inherits a constructor from NMEAPlus::Message::AIS::VDMPayload::Payload
Instance Attribute Details
#analog_external1 ⇒ Object (readonly)
Returns The field defined by the 10 bits starting at payload bit 98, formatted with the function Payload#_U(20, 0, ).
12 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 12 payload_reader :analog_external1, 98, 10, :_U, 20, 0 |
#analog_external2 ⇒ Object (readonly)
Returns The field defined by the 10 bits starting at payload bit 108, formatted with the function Payload#_U(20, 0, ).
13 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 13 payload_reader :analog_external2, 108, 10, :_U, 20, 0 |
#analog_internal ⇒ Object (readonly)
Returns The field defined by the 10 bits starting at payload bit 88, formatted with the function Payload#_U(20, 0, ).
11 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 11 payload_reader :analog_internal, 88, 10, :_U, 20, 0 |
#digital_input0? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 130, formatted with the function Payload#_b(, , ).
49 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 49 payload_reader :digital_input0?, 130, 1, :_b |
#digital_input1? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 129, formatted with the function Payload#_b(, , ).
48 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 48 payload_reader :digital_input1?, 129, 1, :_b |
#digital_input2? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 128, formatted with the function Payload#_b(, , ).
47 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 47 payload_reader :digital_input2?, 128, 1, :_b |
#digital_input3? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 127, formatted with the function Payload#_b(, , ).
46 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 46 payload_reader :digital_input3?, 127, 1, :_b |
#digital_input4? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 126, formatted with the function Payload#_b(, , ).
45 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 45 payload_reader :digital_input4?, 126, 1, :_b |
#digital_input5? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 125, formatted with the function Payload#_b(, , ).
44 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 44 payload_reader :digital_input5?, 125, 1, :_b |
#digital_input6? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 124, formatted with the function Payload#_b(, , ).
43 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 43 payload_reader :digital_input6?, 124, 1, :_b |
#digital_input7? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 123, formatted with the function Payload#_b(, , ).
42 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 42 payload_reader :digital_input7?, 123, 1, :_b |
#racon_alarm? ⇒ Object (readonly)
Returns The field defined by the 1 bits starting at payload bit 122, formatted with the function Payload#_b(, , ).
41 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 41 payload_reader :racon_alarm?, 122, 1, :_b |
#racon_light_status ⇒ Object (readonly)
Returns The field defined by the 2 bits starting at payload bit 120, formatted with the function Payload#_u(, , ).
28 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 28 payload_reader :racon_light_status, 120, 2, :_u |
#racon_light_status_description ⇒ String (readonly)
Returns RACON light status description.
32 33 34 35 36 37 38 39 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 32 def racon_light_status_description case racon_light_status when 0 then "no light or monitoring" when 1 then "ON" when 2 then "OFF" when 3 then "ERROR" end end |
#racon_status ⇒ Object (readonly)
Returns The field defined by the 2 bits starting at payload bit 118, formatted with the function Payload#_u(, , ).
14 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 14 payload_reader :racon_status, 118, 2, :_u |
#racon_status_description ⇒ String (readonly)
RACON status description
19 20 21 22 23 24 25 26 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb', line 19 def racon_status_description case racon_status when 0 then "no RACON installed" when 1 then "RACON not monitored" when 2 then "RACON operational" when 3 then "RACON ERROR" end end |