项目

一般

简介

SetAutoRecycleEnable » 历史记录 » 版本 10

yangdefeng, 2022-05-26 20:39

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