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

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

    return value;
}
/**
 * For a given object instance-number, gets the ramp-rate
 * property value
 *
 * @param object_instance - object-instance number of the object
 *
 * @return the ramp-rate property value of this object
 */
For a given object instance-number, gets the ramp-rate
property value

@param object_instance - object-instance number of the object

@return the ramp-rate property value of this object
For a given object instance - number gets the ramp - rate property value @param object_instance - object - instance number of the object @return the ramp - rate property value of this object
float Lighting_Output_Default_Ramp_Rate(
    uint32_t object_instance)
{
    float value = 0.0;
    unsigned int index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        value = Lighting_Output[index].Default_Ramp_Rate;
    }
    return value;
}
float Lighting_Output_Default_Ramp_Rate ( uint32_t object_instance ) { float value = 0.0 ; unsigned int index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( index < MAX_LIGHTING_OUTPUTS ) { value = Lighting_Output [ index ] . Default_Ramp_Rate ; } return value ; }
For a given object instance-number, gets the ramp-rate
 property value
For a given object instance - number gets the ramp - rate property value