项目

一般

简介

SetAutoRecycleEnable » 历史记录 » 版本 6

yangdefeng, 2022-05-26 20:07

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