AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/lo.c
unsigned Lighting_Output_Default_Priority(
    uint32_t object_instance)
{
    unsigned value = 0;
    unsigned int index = 0;

    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        value = Lighting_Output[index].Lighting_Command_Default_Priority;
    }

    return value;
}
/**
 * For a given object instance-number, gets the
 * lighting-command-default-priority
 * property value
 *
 * @param object_instance - object-instance number of the object
 *
 * @return the lighting-command-default-priority property value of
 * this object
 */
For a given object instance-number, gets the
lighting-command-default-priority
property value

@param object_instance - object-instance number of the object

@return the lighting-command-default-priority property value of
this object
For a given object instance - number gets the lighting - command - default - priority property value @param object_instance - object - instance number of the object @return the lighting - command - default - priority property value of this object
unsigned Lighting_Output_Default_Priority(
    uint32_t object_instance)
{
    unsigned value = 0;
    unsigned int index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        value = Lighting_Output[index].Lighting_Command_Default_Priority;
    }
    return value;
}
unsigned Lighting_Output_Default_Priority ( uint32_t object_instance ) { unsigned value = 0 ; unsigned int index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( index < MAX_LIGHTING_OUTPUTS ) { value = Lighting_Output [ index ] . Lighting_Command_Default_Priority ; } return value ; }
For a given object instance-number, gets the
 lighting-command-default-priority
 property value
For a given object instance - number gets the lighting - command - default - priority property value