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

    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        Lighting_Output[index].Out_Of_Service = value;
    }
}
/**
 * For a given object instance-number, sets the out-of-service property value
 *
 * @param object_instance - object-instance number of the object
 * @param value - boolean out-of-service value
 *
 * @return true if the out-of-service property value was set
 */


@return true if the out-of-service property value was set
@return true if the out - of - service property value was set
void Lighting_Output_Out_Of_Service_Set(
    uint32_t object_instance,
    bool value)
{
    unsigned int index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        Lighting_Output[index].Out_Of_Service = value;
    }
}
void Lighting_Output_Out_Of_Service_Set ( uint32_t object_instance , bool value ) { unsigned int index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( index < MAX_LIGHTING_OUTPUTS ) { Lighting_Output [ index ] . Out_Of_Service = value ; } }
For a given object instance-number, sets the out-of-service property value
 @param object_instance - object-instance number of the object
 @param value - boolean out-of-service value
For a given object instance - number sets the out - of - service property value @param object_instance - object - instance number of the object @param value - boolean out - of - service value