该系统的所有关键行为都以事件集及合适的事件状态的形式公开给应用程序。
All the key behavior of the system is exposed to the application as a set of events, with the appropriate event state.
如果有错误,则更新事件状态并在本地对失败做标记,以便下一个事件记录进行处理。
If there are any errors, the event status is updated and a failure is marked locally for next event record processing.
根据事件传递所返回的代码,更新事件表中的事件状态(图7b)或者将该事件存档(图7 b),或者两者都执行。
Based on the return code from the event delivery, the status of the event in the event table (Figure 7b) is updated, or the event is archived (Figure 7a), or both.
测试用例通过触发checkout和accept _ card事件实现两个转换,并在调用事件之后检验事件状态是否正确。
The test case makes both transitions by triggering the checkout and accept_card events, and verifying the states correctly after calling the events.
即使这些边缘的细节有点难以捉摸,但当我们处于催眠状态中或在脑海里重温该事件时,它们很容易被记起,比如在心理剧中。
Even if these peripheral details are a bit elusive, they come back readily in hypnosis or when we relive the event imaginatively, as in psychodrama.
它用一致的方法来管理状态并将事件分组。
表的行和列代表事件和状态,单元格内包含动作和转移。
Rows and columns represent events and states, and cells contain actions and transitions.
每个事件代表状态中的一个变化,所有普通实体状态的有序和代表了一个生命周期。
Each event represents a change in state, and the ordered sum of all normal entity states represents a lifecycle.
使用对象流图(它是捕获事件和状态转换的基础模型)虚拟化实体生命周期是这个模型的关键。
Virtualization of the entity lifecycle through Object Flow Diagrams, a basic model that captures both events and state transitions, is critical in this model.
随后,主循环在每次循环时都检查事件、重置绘图状态、绘出圆形的“门户”窗口,然后以动画形式将其失真返回当前时帧。
Then, each pass of the main loop checks for events, resets the draw state, draws the circular "portal" windows, then animates their distortion back to the current time frame.
不过,我们需要给它一些“活力”,我们要给它添加一个指针来显示基于一些事件的当前状态。
However, we need to add "life" to it, by adding a needle which shows the current state of some process based on some event.
如果流程逻辑为事件驱动的,则使用状态机实现。
Use the state machine implementation if the process logic is event driven.
在数据流上下文中,分析师识别对象类型,并思考改变对象状态的事件。
In the context of data flow, an analyst identifies object types, and thinks about events that change the state of objects.
业务状态机——将业务流程建模为有限的状态和事件转移集。
Business state machines - Models a business process as a finite set of states and event transitions.
状态机根据接收到的外部事件从一个有效状态转移到下一个有效状态。
The state machine moves from one valid state to the next based on external events it receives.
观察器对象订阅那些报告所监视实体中任何状态更改的事件,然后基于那些事件中的信息更新自己的状态。
The observer object subscribes to events that report any state changes in the monitored entity, and then updates its own state based on information in those events.
事件触发状态之间的转换。
该应用在内部使用了发布-订阅式消息传递方式,以将事件和状态更新传达到服务器内的其他代理。
This application used publish-and-subscribe messaging internally to communicate events and status updates to other agents within the server.
有利的方面是,所有权限制澄清了事件的状态。
Beneficially, the ownership constraint clarifies the state of affairs.
他们也应该按照对象类型、事件、对象状态的变化,以及触发和控制事件的业务规则进行思考。
They should also think in terms of object types, events, changes to the state of the objects, and business rules that trigger and control events.
我应该根据状态对事件及其转换进行验证,或者将所有状态集中起来。
I should either validate the events and their transitions against the states, or scratch the array of states altogether.
FEMMDB拾取消息,更新数据库中的失败事件,并将状态设置为“失败”。
The FEM MDB picks up the message, updates the failed event in the database, and sets status to Failed.
这些项目的状态由事件驱动,而且通常具有循环逻辑(返回以前的状态)。
These are items that have states that are driven by events, and typically have loop-based logic (returning to previous states).
发布到发布点的事件可能代表状态的更改,并提供了对所有订阅者(新订阅者或请求刷新的订阅者)可用的最新状态。
Events published to a publication point may represent change of status, with the latest status available to all subscribers whether new or requesting a refresh.
直接使用状态名称和事件名称作为索引。
You'll use state names and event names directly as the array's indexes.
储蓄可以帮助家庭从疲于应付事件的状态中摆脱出来,大步跨越到能够为更健康、更幸福的未来制定计划。
Savings helps families to take the giant leap from reacting to events to planning for a healthier, happier future.
不管状态如何,状态机都会触发事件。
The state machine will trigger an event regardless of the state of the machine.
这包括当前处于活动状态的事件处理程序内的活动。
This includes the activities within currently active event handlers.
对应于事件,状态间的转移。
对应于事件,状态间的转移。
应用推荐