Fixed AI header when built without Intrinsic Reporting.

This commit is contained in:
skarg
2011-08-10 03:58:25 +00:00
parent ef80e662b3
commit da7fffaa9a
+6 -3
View File
@@ -31,7 +31,11 @@
#include "bacdef.h"
#include "rp.h"
#include "wp.h"
#if defined(INTRINSIC_REPORTING)
#include "nc.h"
#include "getevent.h"
#include "alarm_ack.h"
#endif
#ifdef __cplusplus
extern "C" {
@@ -61,9 +65,6 @@ extern "C" {
#endif
} ANALOG_INPUT_DESCR;
void Analog_Input_Property_Lists(
const int **pRequired,
const int **pOptional,
@@ -110,6 +111,7 @@ extern "C" {
uint32_t object_instance,
float value);
#if defined(INTRINSIC_REPORTING)
void Analog_Input_Intrinsic_Reporting(uint32_t object_instance);
int Analog_Input_Event_Information(unsigned index,
@@ -117,6 +119,7 @@ extern "C" {
int Analog_Input_Alarm_Ack(BACNET_ALARM_ACK_DATA * alarmack_data,
BACNET_ERROR_CODE * error_code);
#endif
void Analog_Input_Init(
void);