为了提高性能,您可能希望抽取每个模型属性的代码放到它自己的方法中(或者带有“开关”的单个方法)。
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").
以上代码通过使用信号驱动视图来处理编辑模式的开关。
The code handles the toggling of editing modes, using signals to drive the view.
开关加载文件由事务管理器或资源管理器提供,并且有选择地提供代码以处理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.
你可以使用该开关来运行代码,来看看要将代码移植到3.0需要做多少工作。
You can run code with this switch to see how much work will be necessary to port code to 3.0.
执行此操作的代码称为开关加载文件。
这看起来可能不算什么,但是使用% freedb_searches散列来得到检索开关列表会使代码更短,而且容易维护。
It may seem like a little thing, but using the % freedb_searches hash to get the list of searching switches makes the code shorter and more maintainable.
下面是实现开关加载文件的示例代码。
ss开关告诉Axis2要构建服务器端代码。
在执行包含getopt(称为opttest)的脚本时,如果在 -x 或 --xxxxx 中使用有效的参数,getopt 会识别出开关并执行case 开关中的代码
When executing the script containing getopt, named opttest, using a valid argument of -x-or --xxxxx, getopt recognizes the switch and executes the code within the case switch
上述代码最后一行展示如何将这个常量用作整个代码中的一个开关。
The last line shown demonstrates how this is used as a switch throughout the code.
很多新车都装备了与点火开关相配的键控代码,或是运用特殊的雷达信号来发动汽车的远程控制系统。
Many newer model cars come equipped with high-tech keys coded to match ignition switches or remote systems that use specific radio signals to start a car.
研究了数控代码中开关量信号的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.
在已部署的应用程序中,当应用程序未运行时,可以通过重新配置开关对象来启用跟踪代码。
In a deployed application, you enable trace code by reconfiguring switch objects when your application is not running.
根据测试流程,给出了主机控制程序设计及部分实现代码,并针对开关矩阵硬件构成,分别给出了各个组成部分的固件程序代码。
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 can be created and placed in any part of your code that might use them.
请注意,这些开关是与年纪较大的风格馆拉杆气缸(磁代码3选择)起磁铁外,所有纽曼帝克磁铁兼容。
Please note that these switches are compatible with all Numatics magnets with the exception of older style Hall effect magnets for tie rod cylinders (magnet code 3 option).
如果输入的代码序号在规定的试用次数内不正确,大部分开关就会自动失去功能,很象银行的自动取款机。
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.
跟踪开关放置在代码中,可以控制是否进行跟踪以及跟踪的范围。
Trace Switches in your code, you can control whether tracing occurs and how extensive it is.
国家代码要求漏电开关用于分支电路供应电力的水族馆泵和所有其他电子水族馆设备。
The national code requires that a GFCI be utilized in the branch circuit which supplies electrical power to the aquarium pump and all other electrical aquarium devices.
国家代码要求漏电开关用于分支电路供应电力的水族馆泵和所有其他电子水族馆设备。
The national code requires that a GFCI be utilized in the branch circuit which supplies electrical power to the aquarium pump and all other electrical aquarium devices.
应用推荐