项目

一般

简介

SetAutoRecycle » 历史记录 » 版本 8

yangdefeng, 2022-05-26 20:13

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