IEC_BACNET_COLOR_COMMAND (STRUCT)ΒΆ

TYPE IEC_BACNET_COLOR_COMMAND : STRUCT

A lightinmg command data structure contains the additional parameters used to request special lighting commands with specific behaviors.

InOut:

Name

Type

Comment

mask

IEC_BACNET_UINT

Mask of flags which define which member of this struct is valid. Possible flags are: ::COLOR_COMMAND_COLOR_TEMPERATURE_PRESENT_FLAG, ::COLOR_COMMAND_RAMP_PRESENT_FLAG, ::COLOR_COMMAND_STEP_PRESENT_FLAG, ::COLOR_COMMAND_FADETIME_PRESENT_FLAG and the COLOR_COMMAND_COLOR_PRESENT_FLAG.

operation

IEC_BACNET_COLOR_OPERATION

This field is an enumeration of type ::BACNET_COLOR_OPERATION that defines the color operation desired.

targetColor

IEC_BACNET_XY_COLOR

This field contains the target color in xy-color format to set.

targetColorTemperature

IEC_BACNET_UINT

This field contains the target color temperature to set.

rampRate

IEC_BACNET_UINT

This field of type UNSIGNED represents the rate of change in kelvin-per-second for ramp operations. The range of allowable ramp-rate values is 1 to 30000 inclusive. If this field is not specified, then the value of Default_Ramp_Rate specifies the ramp rate to be used.

fadeTime

IEC_BACNET_UINT

This field of type UNSIGNED represents the time in milliseconds over which the fade operations take place. The range of allowable fade-time values is 100 ms to 86400000 ms (1 day) inclusive. If this field is not specified, then the value of Default_Fade_Time specifies the fade time to be used.

stepIncrement

IEC_BACNET_UINT

This field of type UNSIGNED represents the amount to be added to Present_Value when stepping. The range of allowable values is 1 to 30000 inclusive. If this field is not specified, then the value of Default_Step_Increment specifies the step increment to be used.