Sha256: 50de616841245cdee53e5648c7ea625cb43e48871b85083d34172f710b9d3910
Contents?: true
Size: 1.05 KB
Versions: 12
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class AirsenseWarningEventsMessage < EventsMessage attribute :_method, Types::String.enum("airsense_warning") attribute :_data, Types::Array attribute :data, Types::Array do attribute :icao, Types::String # {"0":"No danger","1":"Level one","2":"Level two","3":"Level three","4":"Level four"} attribute :warning_level, Types::Integer.enum(0, 1, 2, 3, 4) attribute :latitude, Types::Latitude attribute :longitude, Types::Longitude attribute :altitude, Types::Integer # {"0":"Ellipsoid height","1":"altitude"} attribute :altitude_type, Types::Integer.enum(0, 1) attribute :distance, Types::Integer attribute :heading, Types::JSON::Decimal attribute :relative_altitude, Types::Integer # {"0":"Relative height unchanged","1":"Relative height increase","2":"Relative height decrease"} attribute :vert_trend, Types::Integer.enum(0, 1, 2) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems