Skip to content

Commit e7f3011

Browse files
committed
move extern_cmd.json to commands.json
1 parent 0e5598d commit e7f3011

File tree

2 files changed

+67
-68
lines changed

2 files changed

+67
-68
lines changed

commands.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[
2+
{
3+
"name": "背光设置",
4+
"nodes": [
5+
{
6+
"action": "rlease_backlight",
7+
"results": [
8+
{
9+
"code": 0,
10+
"message": "执行成功"
11+
},
12+
{
13+
"code": -1,
14+
"message": "执行失败"
15+
}
16+
],
17+
"type": "command"
18+
},
19+
{
20+
"action": "lock_backlight",
21+
"name": "背光长亮",
22+
"results": [
23+
{
24+
"code": 0,
25+
"message": "执行成功"
26+
},
27+
{
28+
"code": -1,
29+
"message": "执行失败"
30+
}
31+
],
32+
"type": "command"
33+
}
34+
],
35+
"type": "group"
36+
},
37+
{
38+
"action": "backlight_on",
39+
"name": "开启背光",
40+
"results": [
41+
{
42+
"code": 0,
43+
"message": "执行成功"
44+
},
45+
{
46+
"code": -1,
47+
"message": "执行失败"
48+
}
49+
],
50+
"type": "command"
51+
},
52+
{
53+
"action": "backlight_off",
54+
"name": "关闭背光",
55+
"results": [
56+
{
57+
"code": 0,
58+
"message": "执行成功"
59+
},
60+
{
61+
"code": -1,
62+
"message": "执行失败"
63+
}
64+
],
65+
"type": "command"
66+
}
67+
]

extern_cmd.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)