还请考虑您是否需要使用状态机。
您可以通过使用状态表来定义测试用例。
所有梯子均须在良好的使用状态。
如果流程逻辑为事件驱动的,则使用状态机实现。
Use the state machine implementation if the process logic is event driven.
保证工作设备、物品的良好使用状态。
下面这个简单的例子说明了需要使用状态机的情况。
The following simple example is a case when you need a state machine.
对于为屏幕流编写文档,我们也希望使用状态转换图。
For documenting a screen flow, we also like to use state transition diagrams.
在本示例中,我们使用状态机实现一个简化订单流程。
In this example, we implement a simplified order process using a state machine.
只有在每一个状态都是相对和明确的情况下才使用状态命令。
Use state menu commands only when both states are clearly opposite and unambiguous.
所以,我们的问题是,什么时候使用状态机,而不是业务流程?
So, the question is, when do you use a state machine, as opposed to a business process?
这样的训练不是什么稀罕的事情,靶场全年都处于使用状态。
Such trainings are not a rare thing, the gunnery range works all year round.
南钢高炉操作管理系统已经在南钢投入应用,目前使用状态良好。
Nangang B. F operation management system has been put into application, and goes on well.
所有这些报告都使用相同的状态结果。
在客户代码中,这些都可以在不使用可变状态的情况下就能做到。
And this all can be done with no mutable state in the client code.
为解决此问题,状态机使用了一个相关集。
您可以在下一个小节中使用它来保存前面的状态更新。
You will use this in the next section to house previous status updates.
如果它是有状态的,则使用相同的实例执行启动和停止。
If it is stateful, the same instance is used for start and stop.
您可以使用稳定状态作为报告的时间范围。
You can use the steady state as the time range for your report.
也可以使用这个样例程序来检查连接状态。
You can use this sample program to check the connection status as well.
我们使用有限状态机模式设计了这种行为。
You used the finite state machine pattern to design this behavior.
或者,假定您有一个业务要求,需使用没有导航状态的初始URL。
Or, suppose you have a business requirement to have the initial URL without navigation state.
状态使用一个整数表示,表示过程是否成功。
The status is an integer that indicates the success of the procedure.
我们没必要对于HTTP的每个状态改变都使用PUT。
下面的说明需要使用部署管理器的稳定状态备份。
The instructions below require a stable state backup of the deployment manager.
解决方案:使用各种反馈机制传播构建状态信息。
Solution: Use various feedback mechanisms to relate build status information.
不一定非使用延续来捕获执行状态。
You don't have to use continuations to capture execution state.
图6显示了我们的实现使用的网络状态。
如果使用得当,它们可以作为状态处理机制的组成部分。
Used well, they can be a wonderful part of a state-handling mechanism.
但是就其当前状态来说,我无法推荐您使用它。
然而使用视图状态也有一些缺点。
There are a number of drawbacks to the use of view state, however.
应用推荐