Class: AIXM::Component::VASIS

Inherits:
AIXM::Component show all
Defined in:
lib/aixm/component/vasis.rb

Overview

Visual approach slope indicator system

Cheat Sheet in Pseudo Code:

vasis = AIXM.vasis
vasis.type = TYPES or nil
vasis.position = POSITIONS or nil
vasis.boxes = Integer or nil
vasis.portable = true or false or nil (means: unknown, default)
vasis.slope_angle = AIXM.a or nil
vasis.meht = AIXM.d or nil

Constant Summary collapse

TYPES =
{
  PAPI: :precision_api,
  APAPI: :abbreviated_precision_api,
  HAPI: :helicopter_api,
  VASIS: :vasis,
  AVASIS: :abbreviated_vasis,
  TVASIS: :t_shaped_vasis,
  ATVASIS: :abbreviated_t_shaped_vasis,
  OTHER: :other   # specify in remarks
}.freeze
POSITIONS =
{
  LEFT: :left,
  RIGHT: :right,
  BOTH: :left_and_right,
  OTHER: :other   # specify in remarks
}.freeze

Instance Attribute Summary collapse

Attributes inherited from AIXM::Component

#meta

Instance Method Summary collapse

Methods included from AIXM::Concerns::HashEquality

#eql?, #hash

Methods included from AIXM::Concerns::XMLBuilder

#build_fragment, #to_uid, #to_xml

Methods included from AIXM::Concerns::Memoize

included, method

Instance Attribute Details

#boxesInteger? #boxes=(value) ⇒ Object

Number of boxes.

Overloads:

  • #boxesInteger?

    Returns:

    • (Integer, nil)
  • #boxes=(value) ⇒ Object

    Parameters:

    • value (Integer, nil)

60
61
62
# File 'lib/aixm/component/vasis.rb', line 60

def boxes
  @boxes
end

#mehtAIXM::Z? #meht=(value) ⇒ Object

Minimum eye height over threshold.

Overloads:


84
85
86
# File 'lib/aixm/component/vasis.rb', line 84

def meht
  @meht
end

#portableBoolean? #portable=(value) ⇒ Object

Whether the VASIS is portable.

Overloads:

  • #portableBoolean?

    Returns nil means unknown.

    Returns:

    • (Boolean, nil)

      nil means unknown

  • #portable=(value) ⇒ Object

    Parameters:

    • value (Boolean, nil)

      nil means unknown


68
69
70
# File 'lib/aixm/component/vasis.rb', line 68

def portable
  @portable
end

#positionSymbol? #position=(value) ⇒ Object

Position relative to the runway.

Overloads:

  • #positionSymbol?

    Returns any of POSITIONS.

    Returns:

  • #position=(value) ⇒ Object

    Parameters:


52
53
54
# File 'lib/aixm/component/vasis.rb', line 52

def position
  @position
end

#slope_angleAIXM::A? #slope_angle=(value) ⇒ Object

Appropriate approach slope angle.

Overloads:


76
77
78
# File 'lib/aixm/component/vasis.rb', line 76

def slope_angle
  @slope_angle
end

#typeSymbol? #type=(value) ⇒ Object

Type of VASIS.

Overloads:

  • #typeSymbol?

    Returns any of TYPES.

    Returns:

    • (Symbol, nil)

      any of TYPES

  • #type=(value) ⇒ Object

    Parameters:

    • value (Symbol, nil)

      any of TYPES


44
45
46
# File 'lib/aixm/component/vasis.rb', line 44

def type
  @type
end

Instance Method Details

#inspectString

Returns:

  • (String)

87
88
89
# File 'lib/aixm/component/vasis.rb', line 87

def inspect
  %Q(#<#{self.class} type=#{type.inspect}>)
end