Class: DjiMqttConnect::Thing::Product::DeviceExitHomingNotifyEventsMessage

Inherits:
EventsMessage
  • Object
show all
Defined in:
lib/dji_mqtt_connect/messages/thing/product/events/device_exit_homing_notify.rb

Overview

Constant Summary collapse

ENTERING_EXIT_RTH_STATE_ACTION =
1
EXIT_EXITING_RTH_STATE_ACTION =
0

Instance Method Summary collapse

Methods inherited from EventsMessage

#flight_ids, #humanized_summary, #need_reply?, #to_s

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Instance Method Details

#humanized_summary_interpolationObject



44
45
46
# File 'lib/dji_mqtt_connect/messages/thing/product/events/device_exit_homing_notify.rb', line 44

def humanized_summary_interpolation
  super.merge(action: data.humanized_action, reason: data.humanized_reason)
end