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

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

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

@return the in-progress value of this object instance.
For a given object instance - number gets the in - progress property value @param object_instance - object - instance number of the object @return the in - progress value of this object instance .
BACNET_LIGHTING_IN_PROGRESS Lighting_Output_In_Progress(
    uint32_t object_instance)
{
    BACNET_LIGHTING_IN_PROGRESS value = BACNET_LIGHTING_IDLE;
    unsigned index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        value = Lighting_Output[index].In_Progress;
    }
    return value;
}
BACNET_LIGHTING_IN_PROGRESS Lighting_Output_In_Progress ( uint32_t object_instance ) { BACNET_LIGHTING_IN_PROGRESS value = BACNET_LIGHTING_IDLE ; unsigned index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( index < MAX_LIGHTING_OUTPUTS ) { value = Lighting_Output [ index ] . In_Progress ; } return value ; }
For a given object instance-number, gets the in-progress property value
 @param object_instance - object-instance number of the object
For a given object instance - number gets the in - progress property value @param object_instance - object - instance number of the object