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

    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS) {
        value = Command_Descr[index].Present_Value;
    }

    return value;
}
/**
 * For a given object instance-number, determines the present-value
 *
 * @param  object_instance - object-instance number of the object
 *
 * @return  present-value of the object
 */
For a given object instance-number, determines the present-value
@param  object_instance - object-instance number of the object

@return  present-value of the object
For a given object instance - number determines the present - value @param object_instance - object - instance number of the object @return present - value of the object
uint32_t Command_Present_Value(
    uint32_t object_instance)
{
    uint32_t value = 0;
    unsigned int index;
    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS) {
        value = Command_Descr[index].Present_Value;
    }
    return value;
}
uint32_t Command_Present_Value ( uint32_t object_instance ) { uint32_t value = 0 ; unsigned int index ; index = Command_Instance_To_Index ( object_instance ) ; if ( index < MAX_COMMANDS ) { value = Command_Descr [ index ] . Present_Value ; } return value ; }
For a given object instance-number, determines the present-value
 @param  object_instance - object-instance number of the object
For a given object instance - number determines the present - value @param object_instance - object - instance number of the object