Sha256: 462c97f7dcd8b59f69ac6a27fe28bf9744167aca492aaa9ed0c55f3ac18548a6
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class RemoteOsdMessage < OsdMessage attribute :data do include Mixins::LatitudeConditional include Mixins::LongitudeConditional attribute :capacity_percent, Types::Integer attribute :latitude, Types::Latitude attribute :longitude, Types::Longitude attribute? :live_status do attribute :live_time, Types::Integer attribute :live_trendline, Types::Integer attribute :video_id, Types::String | Types::Nil attribute :video_quality, Types::Integer end 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 end def humanized_summary Translations.thing_product_remote_osd_summary(**humanized_summary_interpolation) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dji_mqtt_connect-0.1.25.1 | lib/dji_mqtt_connect/messages/thing/product/osd/remote.rb |
dji_mqtt_connect-0.1.25 | lib/dji_mqtt_connect/messages/thing/product/osd/remote.rb |