Class: AIXM::Feature::NavigationalAid::NDB
- Inherits:
-
AIXM::Feature::NavigationalAid
- Object
- Component
- AIXM::Feature
- AIXM::Feature::NavigationalAid
- AIXM::Feature::NavigationalAid::NDB
- Defined in:
- lib/aixm/feature/navigational_aid/ndb.rb
Overview
A non-directional radio beacon (NDB) is a radio transmitter at a known location operating in the frequency band between 190 kHz and 1750 kHz.
Cheat Sheet in Pseudo Code:
ndb = AIXM.ndb(
source: String or nil
region: String or nil
organisation: AIXM.organisation
id: String
name: String
xy: AIXM.xy
z: AIXM.z or nil
type: TYPES
f: AIXM.f
)
ndb.timetable = AIXM.timetable or nil
ndb.remarks = String or nil
ndb.comment = Object or nil
Constant Summary collapse
- TYPES =
{ B: :en_route, L: :locator, M: :marine, OTHER: :other # specify in remarks }.freeze
Constants inherited from AIXM::Feature
Instance Attribute Summary collapse
-
#f ⇒ Object
Radio frequency.
-
#type ⇒ Object
Type of NDB.
Attributes inherited from AIXM::Feature::NavigationalAid
Attributes included from Concerns::Remarks
Attributes included from Concerns::Timetable
Attributes inherited from AIXM::Feature
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize(type:, f:, **arguments) ⇒ NDB
constructor
See the cheat sheet for examples on how to create instances of this class.
Methods inherited from AIXM::Feature::NavigationalAid
#inspect, #kind, #organisation
Methods included from Concerns::Association
Methods inherited from AIXM::Feature
Methods included from Concerns::HashEquality
Methods included from Concerns::XMLBuilder
#build_fragment, #to_uid, #to_xml
Methods included from Concerns::Memoize
Constructor Details
#initialize(type:, f:, **arguments) ⇒ NDB
See the cheat sheet for examples on how to create instances of this class.
55 56 57 58 |
# File 'lib/aixm/feature/navigational_aid/ndb.rb', line 55 def initialize(type:, f:, **arguments) super(**arguments) self.type, self.f = type, f end |