SIG MESH MODEL 6.1.2Light Lightness state 翻译

6.1.2 章节,主要讲述了一个调光灯应该支持的状态,并讲述了各种状态之间的绑定关系。

6.1.2 Light Lightness state 

6.1.2 灯光亮度状态
The Light Lightness state is a composite state that includes the Light Lightness Linear, the Light Lightness Actual, the Light Lightness Last, and the Light Lightness Default states.

灯光亮度状态由 灯光线性亮度,灯光实际亮度,灯光最近状态,灯光默认状态组成

6.1.2.1 Light Lightness Linear  

6.1.2.1 灯光线性亮度

The Light Lightness Linear state represents the lightness of a light on a linear scale. The state is bound to the Light Lightness Actual state. The values for the state are defined in the following table.

灯光线性亮度表示了灯光在线性比例上的亮度。这个状态是绑定到灯光实际亮度状态。状态的值在下面表格中定义。

The linear lightness of a light is equal to the measured light intensity (Y), from 0 to 65535 

灯光的线性亮度等于测量的光强(Y),从0到65535

6.1.2.1.1 Binding with the Light Lightness Actual state 

6.1.2.1.1 绑定到灯光实际亮度状态

The Light Lightness Linear state is bound to an instance of the Light Lightness Actual state (see Section 6.1.2.2), meaning that whenever the Light Lightness Linear state of an element changes as a result of an action other than the change of the bound Light Lightness Actual state (see Section 6.1.2.2.1), the following calculation shall be performed:

灯光亮度线性状态绑定到灯光实际亮度状态的一个实例,这意味着当一个动作(这个动作不是绑定的灯光实际状态引起的)变化引起一个元素的灯光亮度线性状态发生变化时,应进行以下计算:

 

6.1.2.2 Light Lightness Actual

6.1.2.2 灯光实际亮度

The Light Lightness Actual state represents the lightness of a light on a perceptually uniform lightness scale [6]. The state is bound to the Generic Level state and the Generic OnOff state. The values for the state are defined in the following table.

灯光实际亮度表示了灯光亮度在视觉均匀比例上的亮度。这个状态栏绑定到Generic Level状态和Generic Onoff状态。 状态的值在下面表格中定义。

 The perceived lightness of a light (L) is the square root of the measured light intensity (Y):
 灯光的感知亮度(L)是测量光强(Y)的平方根:

Where L is the perceived lightness and Y is the measured light intensity (from 0 to 65535).

其中L为感知亮度,Y为测量光强(0 ~ 65535)。

6.1.2.2.1 Binding with the Light Lightness Linear state

6.1.2.2.1 和灯光线性亮度值绑定

The Light Lightness Actual state is bound to an instance of the Light Lightness Linear state (see Section 6.1.2.1), meaning that whenever the Light Lightness Linear state of an element changes as a result of an action other that the change of the bound Light Lightness Linear state (see Section 6.1.2.1.1), the following calculation shall be performed:

灯光实际亮度状态绑定到灯光线性亮度状态,这意味着当一个动作(这个动作不是绑定的灯光线性亮度状态引起的)变化引起一个元素的灯光线性亮度状态发生变化时,应进行以下计算:

6.1.2.2.2 Binding with the Generic Level state

6.1.2.2.2 和Generic Level状态绑定

The Light Lightness Actual state is bound to an instance of the Generic Level state (see Section 3.1.2), meaning that whenever the Generic Level state of an element changes, the following calculation shall be performed:

灯光实际亮度绑定到Generic Level 状态的一个实例,这意味着当一个元素的Generic Level 状态发生改变时,应进行以下计算:

Light Lightness Actual = Generic Level + 32768 

A reverse binding is also defined, meaning that whenever the Light Lightness Actual state of an element changes, the following calculation shall be performed:

同样也定义了一个反向的绑定,这意味着当一个元素灯光实际亮度发生变化时,应进行以下计算:

Generic Level = Light Lightness Actual – 32768 

The Light Lightness Actual state shall not wrap around when reaching the maximum or minimum values.

当达到最大值或最小值时,灯光实际亮度状态不应环绕。

6.1.2.2.3 Binding with the Generic OnOff state

6.1.2.2.3 和Generic OnOff状态绑定

The Light Lightness Actual state is bound to an instance of the Generic OnOff state (see Section 3.1.1), meaning that whenever the Generic OnOff state of an element is set, the following calculations shall be performed:

灯光实际亮度状态是绑定到Generic OnOff状态的一个实例,这意味着当一个元素的Generic Onoff状态被设置时,应进行以下计算:

Light Lightness Actual = 0
    for value of the Generic OnOff state equal to 0x00, or
Light Lightness Actual = Light Lightness Last
    for value of the Generic OnOff state equal to 0x01, when value of the Light Lightness Default state is equal to 0x0000, or
Light Lightness Actual = Light Lightness Default
    for value of the Generic OnOff state equal to 0x01, when value of the Light Lightness Default state is not equal to 0x0000.

A reverse binding is also defined, meaning that whenever the Light Lightness Actual state of an element changes, the following calculations shall be performed:

同时定义了一个反向绑定,当一个元素的灯光实际亮度状态变化时,应进行以下计算:

Generic OnOff = 0x00
    for value of the Light Lightness Actual equal to 0, or
Generic OnOff = 0x01
    for value of the Light Lightness Actual greater than 0. 

6.1.2.2.4 Binding with the Generic OnPowerUp state

6.1.2.2.4 和Generic OnPowerUp状态绑定

The Light Lightness Actual state is bound to an instance of the Generic OnPowerUp state (see Section 3.1.4), meaning that during a power up sequence (when an element is physically powered up), the following calculations shall be performed:

灯光实际状态是绑定到Generic OnPowerUp状态的一个实例,这意味当上电时(当一个元素是物理性的上电),应进行以下计算:

Light Lightness Actual = 0
    for value of the Generic OnPowerUp state equal to 0x00, or
Light Lightness Actual = Light Lightness Default
    for value of the Generic OnPowerUp state equal to 0x01 and Light Lightness Default not equal to zero, or
Light Lightness Actual = Light Lightness Last (see Section 6.1.2.3)
    for value of the Generic OnPowerUp state equal to 0x01 and Light Lightness Default equal to zero, or
Light Lightness Actual = last known value (before powered down) of the Light Lightness Actual
    for value of the Generic OnPowerUp state equal to 0x02.

6.1.2.2.5 Binding with the Light Lightness Range state

6.1.2.2.5 和灯光亮度范围状态绑定

The Light Lightness Actual state is bound to an instance of the Light Lightness Range state (see Section 6.1.2.5), meaning that whenever the Light Lightness Actual state of an element changes, the following calculations shall be performed:

灯光实际状态绑定到Light Lightness Range状态的一个实例,这意味着,当一个元素的灯光实际亮度变化时,应进行以下计算:

Light Lightness Actual = Light Lightness Range Min
    for non-zero values of the Light Lightness Actual state that are less than the value of the Light Lightness Range Min state
Light Lightness Actual = Light Lightness Range Max
    for non-zero values of the Light Lightness Actual state that are greater than the value of the Light Lightness Range Max state

6.1.2.3 Light Lightness Last

6.1.2.3 灯光上次联亮度

The Light Lightness Last state represents the lightness of a light on a perceptually uniform lightness scale [6].

灯光上次亮度表示了灯光亮度在视觉均匀比例上的亮度。

The purpose of the Light Lightness Last state is to store the last known non-zero value of the Light Lightness Actual state, which is a result of a completed transactional change of the state. This allows restoring the value of the Light Lightness Actual state to its previous non-zero value when the bound Generic OnOff state is set back to 1. Depending on the value of the Generic OnPowerUp state (see Section 3.1.4), It may also be used as a default value when an element is powered up.

灯光上次亮度是目的在于保存最近一次灯光实际亮度的非0值,这个值是一个完整事件处理之后的状态值。当绑定的Generic OnOff状态变为1时,允许灯光实际亮度恢复到之前保存的非0值。根据Generic OnPowerUp状态的值(参见第3.1.4节),它也可以在一个元素启动时用作默认值。

Whenever the Light Lightness Actual state is changed with a non-transactional message or a completed sequence of transactional messages to a non-zero value, the value of the Light Lightness Last shall be set to the value of the Light Lightness Actual.

当灯光实际状态通过一个非事件消息或一系列完整的事件消息变为一个非0值时,灯光上次亮度应该设置为灯光实际亮度

The default value for the Light Lightness Last is 0xFFFF. The values for the state are defined in the following table.

灯光上次亮度的默认值是0xFFFF。状态的值在下表中定义。

6.1.2.4 Light Lightness Default

6.1.2.4 灯光默认亮度

The Light Lightness Default state is a value ranging from 0x0000 to 0xFFFF, representing a default lightness level for the Light Lightness Actual state. The purpose of the Light Lightness Default state is to determine the lightness level of an element when powered up and when the Generic OnPowerUp state (see Section 3.1.4) bound to the Light Lightness state is set to 0x01 Default). The values for the state are defined in the following table.

灯光默认亮度值是一个在0x0000到0xFFFF的值,表示灯光实际亮度状态的默认值。灯光默认亮度值的目的在于确定在通电时的亮度值,以及与灯光亮度值绑定的Generic OnPowerUp值为默认值1时的亮度值。状态的值在下表中定义。

The default value for the Light Lightness Default state is 0x0000

灯光默认亮度值的默认值是0x0000

6.1.2.5 Light Lightness Range

6.1.2.5 灯光亮度范围

The Light Lightness Range state determines the minimum and maximum lightness of an element.This is a pair of 16-bit unsigned integers: Light Lightness Range Min and Light Lightness Range Max. 

光亮度范围状态决定了一个元素的最小和最大亮度。这是一对16位无符号整数:灯光亮度范围最小值和灯光亮度范围最大值。

The Light Lightness Range Min state determines the minimum non-zero lightness an element is configured to emit. The Light Lightness Range Max state determines the maximum lightness an element is configured to emit. The values for the state are defined in the following table.

灯光亮度范围最小值状态确定元素配置为发射的最小非零亮度。光亮度范围最大值状态决定了一个元素被配置为发出的最大亮度。下表定义了状态值。

The default values for the Light Lightness Range Min and Light Lightness Range Max are product specific and are decided by a vendor. The value of the Light Lightness Range Max state shall be greater than or equal to the value of the Light Lightness Range Min state.

“灯光亮度范围最小值”和“灯光亮度范围最大值”的默认值是特定于产品的,由供应商决定。灯光亮度范围最大状态的值应大于或等于灯光亮度范围最小状态的值。

猜你喜欢

转载自www.cnblogs.com/gancai/p/12304223.html