Class: DjiMqttConnect::Thing::Product::DockOsdMessage

Inherits:
OsdMessage
  • Object
show all
Defined in:
lib/dji_mqtt_connect/messages/thing/product/osd/dock.rb

Constant Summary collapse

STABLE_DATA_ATTRIBUTES =
%i[
  drc_state
  drone_in_dock
  job_number
]
AirConditionerState =

mode (No cooling, heating, and dehumidification)”,“1”:“Cooling mode”,“2”:“Heating mode”,“3”:“Dehumidification mode”,“4”:“Cooling exit mode”,“5”:“Heating exit mode”,“6”:“Dehumidification exit mode”,“7”:“Cooling preparation mode”,“8”:“Heating preparation mode”,“9”:“Dehumidification preparation mode”

Types::Integer.enum(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)

Instance Method Summary collapse

Methods inherited from OsdMessage

#humanized_summary_interpolation

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Instance Method Details

#humanized_summaryObject



361
362
363
# File 'lib/dji_mqtt_connect/messages/thing/product/osd/dock.rb', line 361

def humanized_summary
  Translations.thing_product_dock_osd_summary(**humanized_summary_interpolation)
end