
## General - Pause/Resume

### Function Introduction
During the cleaning process, the device can pause the cleaning task by sending this DP point.

### DP Protocol
 **DP Code** | **Required** | **Function Point Name** | **Data Type**  | **Data Transmission Type**   | **Remarks**               
-------------|----------|-----------|-----------|--------------|----------------------
 pause  | Required       | Pause/Resume      | Boolean (Bool) | Read/Write (rw) | --

### Device Interaction Process
```mermaid
sequenceDiagram
 rect rgb(191, 223, 255)
note right of Panel: Pause cleaning
    Panel->>Device: Notify device to pause cleaning/pause: true
    Device-->>Panel: Respond to panel pause DP point update/pause: true
    Device-->>Device: Device stops operation
    
    Device-->>Panel: Report status DP to update machine status 
    
end

rect rgb(200, 150, 255)
note right of Panel: Resume cleaning task.
  Panel->>Device: Resume cleaning/pause: false
  Device-->>Panel: Respond to panel pause DP point update/pause: false
  Device-->>Device: Continue the previous cleaning task
  Device-->>Panel: Report status DP to update machine status 
end
```

### Notes
Whether the panel can set the pause function is recommended to be used in conjunction with the machine status. The pause function can be used when the machine is working or returning to the charging dock.