Project

General

Profile

Feature #36

script增加接口:获取控制返回信息/printlog/sleep/设置插件para

Added by xiangyang li over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/22/2019
Due date:
04/26/2019
% Done:

100%

Estimated time:
Defect version:

Description

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: 参数内容长度

History

#1

Updated by xiangyang li over 5 years ago

  • Description updated (diff)
#2

Updated by xiangyang li over 5 years ago

  • Subject changed from script增加获取控制返回信息接口 to script增加接口:获取控制返回信息/printlog/sleep/设置插件para
  • Description updated (diff)
#3

Updated by xiangyang li over 5 years ago

  • Status changed from New to In Progress
#4

Updated by xiangyang li over 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#5

Updated by xiangyang li over 5 years ago

  • Target version set to 2.1
#6

Updated by xiangyang li almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF