第三种方式,也是最灵活的方式,是混合上述两种方式,使用 Lua 脚本编写一些动作,而用 C 代码管理其他部分。
The third, and most flexible, is to mix and match these approaches, using Lua to script some actions, and code in C to manage others.
如果将对所有这些信息的管理全部放入一个动作或者一个动作链中,那么势必给维护带来极大的困扰。
Stuffing the management of all of this information into a single action, or even a chain of actions, quickly becomes a maintenance nightmare.
示例代码定义的案例管理资产由一个数据模型和三个事件动作组成。
The case management asset defined by the sample code consists of a data model and three event actions.
应用推荐