Project

General

Profile

Feature #36

Updated by xiangyang li about 5 years ago

1 script增加接口getctrlresult:用于获得控制命令的返回信息:
返回内容: objectcode string
status string: "OK"/"FAIL"
2 printlog: 将script中的文本输出到系统的hmi log中,方便调试。
3 sleep: 提供纯净的sleep函数(不处理窗口鼠标信息),用于异步执行脚本时使用;
4 setplugpara: 设置插件参数,输入参数4个:
code: 插件名字;
paramID: 插件参数ID
content: 参数内容
content_len: 参数内容长度

Back