SetAutoRecycle » 历史记录 » 版本 14
yangdefeng, 2022-05-26 20:46
1 | 2 | yangdefeng | h4. _*%{color:green}setAutoRecycle%*_ |
---|---|---|---|
2 | 1 | machenhe | |
3 | 设置自动回收勾选框勾选状态 |
||
4 | 12 | yangdefeng | 相关变量<$autoRecycle> 自动回收勾选是否选中 |
5 | 1 | machenhe | |
6 | 标签:命令定义|setAutoRecycle |
||
7 | |||
8 | *格式* |
||
9 | |命令名 |参数1 | |
||
10 | |setAutoRecycle |是否勾选自动回收勾选框 | |
||
11 | |||
12 | 说明: |
||
13 | 2 | yangdefeng | * 参数1: 是否勾选 |
14 | 11 | yangdefeng | ** 1:勾选,<$autoRecycle>设为1 |
15 | ** 0:不勾选,<$autoRecycle>设为0 |
||
16 | 1 | machenhe | |
17 | 4 | yangdefeng | - |
18 | - |
||
19 | |||
20 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
21 | 1 | machenhe | |
22 | 8 | yangdefeng | *使用前提1* |
23 | 3 | yangdefeng | 配置回收项 |
24 | 配置工具 |
||
25 | tejiePlatform-->查看-->列表信息二-->回收列表 |
||
26 | |||
27 | 配置完生成以下文件 |
||
28 | ..\Mir200\Envir\recycleItem.txt |
||
29 | 1 | machenhe | |
30 | 8 | yangdefeng | *使用前提2* |
31 | 请开启配置开关\"isUseCustomOKPanel\" |
||
32 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
33 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
34 | |配置项 |isUseCustomOkPanel=1 | |
||
35 | |||
36 | 10 | yangdefeng | *相关变量* |
37 | 8 | yangdefeng | |
38 | 10 | yangdefeng | <$autoRecycleEnable> 自动回收勾选是否可用 |
39 | |||
40 | <$autoRecycle> 自动回收勾选是否选中 |
||
41 | |||
42 | 1 | machenhe | - |
43 | - |
||
44 | 10 | yangdefeng | |
45 | h4. |
||
46 | 1 | machenhe | |
47 | 8 | yangdefeng | bq. [<notextile>@</notextile>main] |
48 | #say |
||
49 | <text:开启自动回收权限:10:20/<notextile>@</notextile>开启自动回收权限> |
||
50 | <text:关闭自动回收权限:10:80/<notextile>@</notextile>关闭自动回收权限> |
||
51 | 14 | yangdefeng | <text:呼出自动回收:10:140/<notextile>@</notextile>呼出自动回收> |
52 | 13 | yangdefeng | |
53 | [<notextile>@</notextile>呼出自动回收] |
||
54 | #act |
||
55 | openRecycleItem |
||
56 | 8 | yangdefeng | |
57 | [<notextile>@</notextile>开启自动回收权限] |
||
58 | 1 | machenhe | #act |
59 | 8 | yangdefeng | [[setAutoRecycleEnable]] 1 |
60 | [[sendMsg]] 6 开启了自动回收 |
||
61 | |
||
62 | [<notextile>@</notextile>关闭自动回收权限] |
||
63 | #act |
||
64 | [[setAutoRecycleEnable]] 0 |
||
65 | [[setAutoRecycle]] 0 |
||
66 | [[sendMsg]] 6 关闭了自动回收 |
||
67 | 7 | yangdefeng | |
68 | 8 | yangdefeng | |
69 | 9 | yangdefeng | bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器 |
70 | 点击回收界面中自动回收勾选时触发% |
||
71 | 8 | yangdefeng | %{color:blue}[<notextile>@</notextile>autoRecycle]% |
72 | 1 | machenhe | #if |
73 | 8 | yangdefeng | [[equal]] <$autoRecycleEnable> 0 |
74 | #act |
||
75 | [[messageBox]] 未开启自动回收权限 |
||
76 | break |
||
77 | |
||
78 | #if |
||
79 | [[equal]] <$autoRecycleEnable> 1 |
||
80 | #act |
||
81 | goto <notextile>@</notextile>勾选框状态切换 |
||
82 | |
||
83 | [<notextile>@</notextile>勾选框状态切换] |
||
84 | #if |
||
85 | 1 | machenhe | [[equal]] <$autoRecycle> 0 |
86 | #act |
||
87 | 5 | yangdefeng | *{color:green}setAutoRecycle* 1 |
88 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |
89 | 5 | yangdefeng | #elseAct |
90 | *{color:green}setAutoRecycle* 0 |
||
91 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |