Sha256: 7ca1df30168447ed16496284b9ead24b059b334addd264b9871f73dcabc9545b
Contents?: true
Size: 1.53 KB
Versions: 6
Compression:
Stored size: 1.53 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class RemoteOsdMessage < OsdMessage attribute :data do attribute :capacity_percent, Types::Integer attribute :latitude, Types::Latitude attribute :live_status do attribute :live_time, Types::Integer attribute :live_trendline, Types::Integer attribute :video_id, Types::String attribute :video_quality, Types::Integer end attribute :longitude, Types::Longitude attribute :transmission_signal_quality, Types::Integer attribute :wireless_link do attribute :_4g_freq_band, Types::JSON::Decimal attribute :_4g_gnd_quality, Types::Integer attribute :_4g_link_state, Types::Integer attribute :_4g_quality, Types::Integer attribute :_4g_uav_quality, Types::Integer attribute :dongle_number, Types::Integer attribute :link_workmode, Types::Integer attribute :sdr_freq_band, Types::JSON::Decimal attribute :sdr_link_state, Types::Integer attribute :sdr_quality, Types::Integer end attribute :wireless_link_state do attribute :download_quality, Types::Integer attribute :frequency_band, Types::Integer attribute :upward_quality, Types::Integer end def latitude? !Types::NullInteger.valid?(latitude) end def longitude? !Types::NullInteger.valid?(longitude) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems