From 2dd97c23cd878d4d7d312f8874ff4eaf63e25cee Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 18 May 2012 23:11:00 +0000 Subject: [PATCH] Added Analog Output and Binary Output objects to simulated device example. --- bacnet-stack/demo/object/device.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/bacnet-stack/demo/object/device.c b/bacnet-stack/demo/object/device.c index 53d6539f..1b50d04c 100644 --- a/bacnet-stack/demo/object/device.c +++ b/bacnet-stack/demo/object/device.c @@ -119,6 +119,21 @@ static object_functions_t My_Object_Table[] = { NULL /* COV */ , NULL /* COV Clear */ , Analog_Input_Intrinsic_Reporting}, + {OBJECT_ANALOG_OUTPUT, + Analog_Output_Init, + Analog_Output_Count, + Analog_Output_Index_To_Instance, + Analog_Output_Valid_Instance, + Analog_Output_Object_Name, + Analog_Output_Read_Property, + Analog_Output_Write_Property, + Analog_Output_Property_Lists, + NULL /* ReadRangeInfo */ , + NULL /* Iterator */ , + NULL /* Value_Lists */ , + NULL /* COV */ , + NULL /* COV Clear */ , + NULL /* Intrinsic Reporting */ }, {OBJECT_ANALOG_VALUE, Analog_Value_Init, Analog_Value_Count, @@ -149,6 +164,21 @@ static object_functions_t My_Object_Table[] = { Binary_Input_Change_Of_Value, Binary_Input_Change_Of_Value_Clear, NULL /* Intrinsic Reporting */ }, + {OBJECT_BINARY_OUTPUT, + Binary_Output_Init, + Binary_Output_Count, + Binary_Output_Index_To_Instance, + Binary_Output_Valid_Instance, + Binary_Output_Object_Name, + Binary_Output_Read_Property, + Binary_Output_Write_Property, + Binary_Output_Property_Lists, + NULL /* ReadRangeInfo */ , + NULL /* Iterator */ , + NULL /* Value_Lists */ , + NULL /* COV */ , + NULL /* COV Clear */ , + NULL /* Intrinsic Reporting */ }, {OBJECT_BINARY_VALUE, Binary_Value_Init, Binary_Value_Count,