项目

一般

简介

SetAutoRecycleEnable » 历史记录 » 版本 11

yangdefeng, 2022-05-26 20:47

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 11 yangdefeng
<text:呼出自动回收:10:140/<notextile>@</notextile>呼出自动回收>
41
&nbsp;
42
[<notextile>@</notextile>呼出自动回收]
43
#act
44
[[openRecycleItem]]
45 4 yangdefeng
&nbsp;
46
[<notextile>@</notextile>开启自动回收权限]
47 1 machenhe
#act
48
*{color:green}setAutoRecycleEnable* 1
49
[[sendMsg]] 6 开启了自动回收
50 4 yangdefeng
&nbsp;
51
[<notextile>@</notextile>关闭自动回收权限]
52 1 machenhe
#act
53 3 yangdefeng
*{color:green}setAutoRecycleEnable* 0
54
[[setAutoRecycle]] 0
55 4 yangdefeng
[[sendMsg]] 6 关闭了自动回收
56 1 machenhe
57
58 8 yangdefeng
bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器
59
点击回收界面中自动回收勾选时触发%
60 3 yangdefeng
%{color:blue}[<notextile>@</notextile>autoRecycle]%
61 1 machenhe
#if
62 3 yangdefeng
[[equal]] <$autoRecycleEnable> 0
63 1 machenhe
#act
64 3 yangdefeng
[[messageBox]] 未开启自动回收权限
65
break
66
&nbsp;
67
#if
68 1 machenhe
[[equal]] <$autoRecycleEnable> 1
69
#act
70 3 yangdefeng
goto <notextile>@</notextile>勾选框状态切换
71 1 machenhe
&nbsp;
72 3 yangdefeng
[<notextile>@</notextile>勾选框状态切换]
73 1 machenhe
#if
74 3 yangdefeng
[[equal]] <$autoRecycle> 0
75 1 machenhe
#act
76 3 yangdefeng
[[setAutoRecycle]] 1
77 4 yangdefeng
[[sendMsg]] 6 状态:<$autoRecycle>
78 3 yangdefeng
#elseAct
79
[[setAutoRecycle]] 0
80
[[sendMsg]] 6 状态:<$autoRecycle>