That idiom is so common, that if the switch value is omitted, it is assumed to be true. So the above could be rewritten as.
这些都是公共的约定俗成,比如如果分支值省略了,就是默认为真,所以上面的代码可以这样写。
Introduced a type complex press-switch sensor. The sensor can setup many switch value, provide upper-limit, lower-limit and security alarm.
介绍一种复合式压力开关传感器,可设置多路开关量限,提供系统上、下限和超限报警。
In Bellevue, the switch to adaptive signals has been a lesson in the value of welcoming new approaches.
在贝尔维尤,采用自适应信号灯是接受新方法所带来的一次教训。
For car owners, the switch is also expected to drive the value of their vehicles off a cliff, since about 14, 000 of the country's 18, 000 vehicles are designed to drive on the right.
对于车主来说,这项政策可能会让他们所拥有的汽车价值一落千丈,因为该国的18,000辆汽车中有14,000辆是为右侧行驶而设计的。
If -a is a hash switch, then just hello will create a key of hello with an undef value.
如果- a是一个散列开关,那么hello仅会创建一个带有undef值的hello键。
The main method USES an enhanced for loop to iterate through the different primitives and a simple switch statement on the current instance to set the size value of each primitive.
main方法使用增强的for循环来迭代通过不同的原语,并在当前实例上使用一个简单的switch语句来设置每个原语的大小值。
Both blocks of code evaluate an int value using a switch statement that results in a human-readable string value printed to the console.
这两个代码块都会使用switch语句计算int值,从而得到输出到控制台的供人阅读的字符串值。
We resorted to using a simple switch statement in order to define the class value with more control.
我们使用一个简单的switch语句,以更强的控制能力定义class值。
Then switch to Advanced in the Edit Page Properties window and click Add to add the preference com.ibm.rcp.bookmark_level with the value selection.
然后,在EditPageProperties窗口中,切换到Advanced并单击Add以添加首选项 com.ibm.rcp.bookmark_level,将值设为selection。
Conditional constructs such as if, switch, while, and for statements are each given a value of 1, along with exception paths.
每一个条件构造,如if、switch、while和for语句,都被分配一个1值和异常路径。
We may want to switch the value.
人们希望能够切换值。
This method used a PHP switch statement that sets the value for the class attribute based on the first argument in the URL.
这种方法使用一个php分支语句,根据URL中的第一个参数设置class属性值。
The actual load is compared to four limit values, and by achieving the limit value, the relay of the crane controller could be switch.
实际的装载量靠近极限值的同时,又不断与四个极限值相比较。起重机控制电容可以作为开关。
In Listing 6, the switch statement determines the value to use based on the first part of the URL path.
在清单6中,switch语句根据URL路径的第一部分决定要使用的值。
This value can be used with the drive current capacity specification for a switch mainframe to determine how many relays the mainframe can close at one time.
该值可和开关主机的驱动电流容量一起来确定主机内同时可闭合多少继电器。
Switch back to the Value editor, click Yes when the Switch editor dialog appears.
切换回Valueeditor,Switch editor对话框出现时单击yes。
Switch initial adjustment for the tension control on the MPU panel to enact the appropriate tension value for the Aluminium coil.
对张力控制微处理机面板上开关进行初期调整,本调整目的在设定铝卷适当的张力值。
Handling the machine manually, use the additional speed switch (the handle multiplier), which can change the value of displacement equal to one skip on the scale of the hand-wheel.
人工操作机床,使用附加速度开关(手动倍率开关)能改变手动轮一个刻度的位移量。
The factors that affect the interconnect wire delay and the resolution ways from to lower the signal swing and change switch threshold value aspect are described in this paper.
本文讨论了影响互连线延迟的因素,并讨论了从降低信号摆幅、改变开关阈值方面解决延迟、功耗等问题。
This paper presents basic operating principle and application of bivalve value window comparison switch and three state comparison switch.
本文介绍了双阀值窗口比较开关及三态比较开关的基本工作原理及应用。
Lee Ming Switch Technology co., Ltd. has been to protect the quality of products as the core value, to meet customer needs for the purpose of.
利铭开关科技有限公司一直以保障产品品质为核心价值,以满足客户需求为宗旨。
A strong engineering background is requested on this project, the research results on the mechanical design and development of electric switch has an important practical value.
本课题研究的内容具有很强的工程背景,研究成果对机械式电开关的设计开发具有重要的实用价值。
Then you set a configuration value that specifies when the switch object is to be used.
然后,设置一个配置值,指定将在何时使用该开关对象。
Sample the negative voltage on the diode series with IGBT by Peak hold switch circuit, and cut-in A/D module in the DSP, compared with setting value.
通过电压峰值采样保持电路对IGBT串联二极管反压值进行采样,后经DSP A/D转换模块与反压设定值进行比较。
The value of this resistor is chosen such that, in the event of device failure, the short circuit current will not exceed the maximum current specification of the relays on either set of switch cards.
该电阻器的阻值要保证被测装置发生故障时的短路电流不会超过开关卡上任一组继电器的最大电流指标。
An electrostatic shield between the switch and the coil can reduce this value by as much as a factor of 100.
开关和线圈之间的静电屏蔽会降低该电容值,最大可达百分之几。
Through choosing the dead band time of amortize capacitor and numerical value, can realize soft switch in all operation pattern.
通过选择缓冲电容器的死区时间和数值,便能够在所有运行模式中实现软开关。
For car owners, the switch is also expected to drive the value of their vehicles off a cliff, since about 14,000 of the country's 18,000 vehicles are designed to drive on the right.
对于车主来说,这项政策可能会让他们所拥有的汽车价值一落千丈,因为该国的18,000辆汽车中有14,000辆是为右侧行驶而设计的。
Both integrated PNP switch outputs are freely programmable, allowing the user to adjust the limit value, hysteresis, and functionality type (normally closed or normally open) as needed.
这两种集成PNP开关输出可自由编程,允许用户调节限定值,滞后和功能型(常闭或常开)的需要。
PSTN (Public Switch Telephone Net) short message, which is recently introduced by China Telecom, is a non-voice value-added service.
固话短信是中国电信新近推出的一项基于固定电话网的非话音类增值业务。
应用推荐