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

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

    return value;
}
/**
 * For a given object instance-number, returns the out-of-service
 * property value
 *
 * @param  object_instance - object-instance number of the object
 *
 * @return  out-of-service property value
 */
For a given object instance-number, returns the out-of-service
property value

@param  object_instance - object-instance number of the object

@return  out-of-service property value
For a given object instance - number returns the out - of - service property value @param object_instance - object - instance number of the object @return out - of - service property value
bool Lighting_Output_Out_Of_Service(
    uint32_t object_instance)
{
    bool value = false;
    unsigned int index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if (index < MAX_LIGHTING_OUTPUTS) {
        value = Lighting_Output[index].Out_Of_Service;
    }
    return value;
}
bool Lighting_Output_Out_Of_Service ( uint32_t object_instance ) { bool value = false ; unsigned int index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( index < MAX_LIGHTING_OUTPUTS ) { value = Lighting_Output [ index ] . Out_Of_Service ; } return value ; }
For a given object instance-number, returns the out-of-service
 property value
For a given object instance - number returns the out - of - service property value