文档增加
This commit is contained in:
56
services/command/data/commands.json
Normal file
56
services/command/data/commands.json
Normal file
@@ -0,0 +1,56 @@
|
||||
[
|
||||
{
|
||||
"id": "d6b5d545-ff6d-43da-adc2-a90111f3e0aa",
|
||||
"seq": "C853BD44",
|
||||
"deviceId": "ROBOT-001",
|
||||
"type": "move",
|
||||
"params": {
|
||||
"direction": "forward",
|
||||
"distance": 3,
|
||||
"speed": 0.8
|
||||
},
|
||||
"priority": "normal",
|
||||
"timeoutMs": 30000,
|
||||
"maxRetries": 1,
|
||||
"retries": 0,
|
||||
"source": "web",
|
||||
"status": "SUCCEEDED",
|
||||
"createdAt": "2026-08-10T03:07:38.287Z",
|
||||
"updatedAt": "2026-08-10T03:07:38.312Z",
|
||||
"ackAt": "2026-08-10T03:07:38.304Z",
|
||||
"result": {
|
||||
"status": "success",
|
||||
"output": {
|
||||
"moved": 3
|
||||
},
|
||||
"errorCode": null,
|
||||
"at": "2026-08-10T03:07:38.312Z"
|
||||
},
|
||||
"events": [
|
||||
{
|
||||
"at": "2026-08-10T03:07:38.287Z",
|
||||
"from": null,
|
||||
"to": "SENT",
|
||||
"reason": "dispatch"
|
||||
},
|
||||
{
|
||||
"at": "2026-08-10T03:07:38.304Z",
|
||||
"from": "SENT",
|
||||
"to": "ACKED",
|
||||
"reason": "device_ack"
|
||||
},
|
||||
{
|
||||
"at": "2026-08-10T03:07:38.304Z",
|
||||
"from": "ACKED",
|
||||
"to": "EXECUTING",
|
||||
"reason": "exec_start"
|
||||
},
|
||||
{
|
||||
"at": "2026-08-10T03:07:38.312Z",
|
||||
"from": "EXECUTING",
|
||||
"to": "SUCCEEDED",
|
||||
"reason": "exec_result"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user