摘要
本文详细阐述了基于JavaScript语言、SpiderMonkey引擎的新型组态软件脚本引擎模块的设计,该模块可以提供诸多接口与组态软件的其它模块衔接,完成整体系统的实时通讯。通过研究设计,最终实现了组态软件运行平台可以执行用户根据自身需要所开发的脚本代码的功能。
This paper thoroughly describes a script engine module design of new type configuration software based on JavaScript language and SpiderMonkey engine. The module provides many interfaces to interface with other modules of the configuration software and then achieves real time communication of the whole system. Through research and design of the user, the functionality that the configuration software platform running the customized script from customer is eventually realized.