Add function Language
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2026-06-16 16:44:04 +07:00
parent 1156e1ab29
commit a2e87aeb29
11 changed files with 1790 additions and 474 deletions

View File

@@ -711,6 +711,173 @@
"source": "ui",
"started_at": "2026-06-15T03:25:12Z",
"status": "cancelled"
},
{
"created_at": "2026-06-16T09:41:27Z",
"finished_at": "2026-06-16T09:41:41Z",
"id": "29d42c51d3a96bec",
"log": [
{
"level": "info",
"message": "Loop endless (simulated, max 10000)",
"ts": "2026-06-16T09:41:28Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:28Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:28Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:29Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:29Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:30Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:31Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:32Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:32Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:33Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:34Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:35Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:35Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:36Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:36Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:37Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:38Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:39Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:39Z"
},
{
"level": "info",
"message": "Set PLC register (set_plc_register) simulated",
"ts": "2026-06-16T09:41:40Z"
},
{
"level": "info",
"message": "Wait 1000ms",
"ts": "2026-06-16T09:41:41Z"
},
{
"level": "warn",
"message": "Mission hủy bởi operator",
"ts": "2026-06-16T09:41:41Z"
}
],
"mission": {
"actions": [
{
"children": [
{
"id": "c6c40563-0755-4e97-a48a-bb91ac8b0a9c",
"kind": "action",
"label": "Set PLC register",
"params": {
"action": "set",
"register": 1,
"value": 0
},
"type": "set_plc_register"
},
{
"id": "a1",
"kind": "action",
"label": "Wait",
"params": {
"seconds": 1
},
"type": "wait"
}
],
"id": "65f3cf0b-73fa-4f51-8774-1c5d4c83d8c4",
"kind": "action",
"label": "Loop",
"params": {
"count": 0,
"mode": "endless"
},
"type": "loop"
}
],
"description": "",
"group": "Missions",
"id": "5ae9dbcb0722dffb",
"name": "Test run",
"updated_at": "2026-06-15T03:08:55.138Z"
},
"mission_group": "Missions",
"mission_id": "5ae9dbcb0722dffb",
"mission_name": "Test run",
"parameters": {},
"priority": 0,
"robot_id": "default",
"source": "ui",
"started_at": "2026-06-16T09:41:28Z",
"status": "cancelled"
}
],
"runner": {
@@ -719,6 +886,6 @@
"message": "Đã hủy: Test run",
"paused": false,
"state": "idle",
"updated_at": "2026-06-15T03:26:42Z"
"updated_at": "2026-06-16T09:41:41Z"
}
}