Sha256: a71bfd7dcb24af3f857b22f6b91a6e0ee1cd2971dc093b1823494c70734cce0d

Contents?: true

Size: 605 Bytes

Versions: 3

Compression:

Stored size: 605 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class TakeoffToPointProgressEventsMessage < EventsMessage
      attribute :_method, Types::String.enum("takeoff_to_point_progress")

      attribute :data do
        attribute :flight_id, Types::String
        attribute :remaining_distance, Types::Integer
        attribute :remaining_time, Types::Integer
        attribute :result, Types::Integer
        attribute :status, Types::String
        attribute :track_id, Types::String | Types::Nil
        attribute :way_point_index, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.23.3 lib/dji_mqtt_connect/messages/thing/product/events/takeoff_to_point_progress.rb
dji_mqtt_connect-0.1.23.2 lib/dji_mqtt_connect/messages/thing/product/events/takeoff_to_point_progress.rb
dji_mqtt_connect-0.1.23.1 lib/dji_mqtt_connect/messages/thing/product/events/takeoff_to_point_progress.rb