Sha256: 0b820bde9cf72bd0c26ffaa1e7d626d8c73e120cc10f718d67bcf7f695028fc1
Contents?: true
Size: 1.07 KB
Versions: 9
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class AirsenseWarningEventsMessage < EventsMessage attribute :_method, Types::String.enum("airsense_warning") attribute :data do attribute :list, 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 end
Version data entries
9 entries across 9 versions & 1 rubygems