SetAutoRecycle » 历史记录 » 版本 11
yangdefeng, 2022-05-26 20:36
1 | 2 | yangdefeng | h4. _*%{color:green}setAutoRecycle%*_ |
---|---|---|---|
2 | 1 | machenhe | |
3 | 设置自动回收勾选框勾选状态 |
||
4 | 相关变量<$autoRecycle> |
||
5 | |||
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 | |
||
52 | [<notextile>@</notextile>开启自动回收权限] |
||
53 | 1 | machenhe | #act |
54 | 8 | yangdefeng | [[setAutoRecycleEnable]] 1 |
55 | [[sendMsg]] 6 开启了自动回收 |
||
56 | |
||
57 | [<notextile>@</notextile>关闭自动回收权限] |
||
58 | #act |
||
59 | [[setAutoRecycleEnable]] 0 |
||
60 | [[setAutoRecycle]] 0 |
||
61 | [[sendMsg]] 6 关闭了自动回收 |
||
62 | 7 | yangdefeng | |
63 | 8 | yangdefeng | |
64 | 9 | yangdefeng | bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器 |
65 | 点击回收界面中自动回收勾选时触发% |
||
66 | 8 | yangdefeng | %{color:blue}[<notextile>@</notextile>autoRecycle]% |
67 | 1 | machenhe | #if |
68 | 8 | yangdefeng | [[equal]] <$autoRecycleEnable> 0 |
69 | #act |
||
70 | [[messageBox]] 未开启自动回收权限 |
||
71 | break |
||
72 | |
||
73 | #if |
||
74 | [[equal]] <$autoRecycleEnable> 1 |
||
75 | #act |
||
76 | goto <notextile>@</notextile>勾选框状态切换 |
||
77 | |
||
78 | [<notextile>@</notextile>勾选框状态切换] |
||
79 | #if |
||
80 | 1 | machenhe | [[equal]] <$autoRecycle> 0 |
81 | #act |
||
82 | 5 | yangdefeng | *{color:green}setAutoRecycle* 1 |
83 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |
84 | 5 | yangdefeng | #elseAct |
85 | *{color:green}setAutoRecycle* 0 |
||
86 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |