General - Charging Switch

Function Introduction

This DP controls the device to return to the charging dock when it is not on the charging dock.

DP Protocol

DP CodeRequiredFunction Point NameData TypeData Transmission TypeRemarks
switch_chargeRequiredCharging SwitchBoolean (Bool)Read/Write (rw)--

Device Interaction Process

sequenceDiagram
 rect rgb(191, 223, 255)
note right of Panel: Start charging return
    Panel->>Device: Notify device to return to charging/switch_charge: true
    Device-->>Panel: Respond to panel switch_charge DP point update/switch_charge: true
    Device-->>Device: Search for charging dock and return
    Device-->>Panel: Report status DP to update machine status 
end

rect rgb(200, 150, 255)
note right of Panel: Pause charging return
  Panel->>Device: Pause charging return/switch_charge: false
  Device-->>Panel: Respond to panel switch_charge DP point update/switch_charge: false
  Device-->>Device: Stop charging return
end

Notes

--