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
maskMask 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.
operationThis field is an enumeration of type ::BACNET_COLOR_OPERATION that defines the color operation desired.
targetColorThis field contains the target color in xy-color format to set.
targetColorTemperatureThis field contains the target color temperature to set.
rampRateThis 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.
fadeTimeThis 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.
stepIncrementThis 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.