下面是实现开关加载文件的示例代码。
为了提高性能,您可能希望抽取每个模型属性的代码放到它自己的方法中(或者带有“开关”的单个方法)。
To improve performance, you may wish to factor out the code for each model attribute into its own method (or a single method with a "switch").
开关加载文件由事务管理器或资源管理器提供,并且有选择地提供代码以处理xa例程返回的错误。
The switch-load file could be provided by either the transaction manager or the resource manager, and can optionally provide code to handle the errors returned by the XA routines.
执行此操作的代码称为开关加载文件。
以上代码通过使用信号驱动视图来处理编辑模式的开关。
The code handles the toggling of editing modes, using signals to drive the view.
在已部署的应用程序中,当应用程序未运行时,可以通过重新配置开关对象来启用跟踪代码。
In a deployed application, you enable trace code by reconfiguring switch objects when your application is not running.
可以创建跟踪开关并将其放置在您可能会使用的任何代码部分中。
Trace switches can be created and placed in any part of your code that might use them.
研究了数控代码中开关量信号的PLC的实现方法,并对其控制逻辑进行了举例说明。
The method was researched on how to realize the switching value signal by the way of the PLC in the NC code, and its control logic was illustrated.
介绍了一种利用模拟可编程器件和数字可编程器件设计三工位开关控制器的方案,并给出了具体的电路图和程序代码。
A scheme for designing the three-position switch with both analog and digital devices is presented with specific diagram and program code.
如果输入的代码序号在规定的试用次数内不正确,大部分开关就会自动失去功能,很象银行的自动取款机。
Most switches disable themselves if the sequence of Numbers entered turns out to be incorrect in a fixed number of tries, much like a bank ATM does.
你可以使用该开关来运行代码,来看看要将代码移植到3.0需要做多少工作。
You can run code with this switch to see how much work will be necessary to port code to 3.0.
上述代码最后一行展示如何将这个常量用作整个代码中的一个开关。
The last line shown demonstrates how this is used as a switch throughout the code.
根据测试流程,给出了主机控制程序设计及部分实现代码,并针对开关矩阵硬件构成,分别给出了各个组成部分的固件程序代码。
According to test flow, the host program and its partial code are given, and according to the hardware structure of switch matrix, the firmware of each part is also given.
跟踪开关放置在代码中,可以控制是否进行跟踪以及跟踪的范围。
Trace Switches in your code, you can control whether tracing occurs and how extensive it is.
跟踪开关放置在代码中,可以控制是否进行跟踪以及跟踪的范围。
Trace Switches in your code, you can control whether tracing occurs and how extensive it is.
应用推荐