Added skeleton Trend Log object. Currently allows properties to be read and written but has little of the required logic for trending implemented yet.
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
#include "lc.h"
|
||||
#include "lsp.h"
|
||||
#include "mso.h"
|
||||
#include "trendlog.h"
|
||||
#include "bacfile.h"
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
@@ -217,6 +218,13 @@ static void Init_Objects(
|
||||
Multistate_Output_Count, Multistate_Output_Index_To_Instance,
|
||||
Multistate_Output_Name, NULL);
|
||||
|
||||
Trend_Log_Init();
|
||||
Init_Object(OBJECT_TRENDLOG, Trend_Log_Property_Lists,
|
||||
Trend_Log_Encode_Property_APDU,
|
||||
Trend_Log_Valid_Instance, Trend_Log_Write_Property,
|
||||
Trend_Log_Count, Trend_Log_Index_To_Instance,
|
||||
Trend_Log_Name, NULL);
|
||||
|
||||
#if defined(BACFILE)
|
||||
bacfile_init();
|
||||
Init_Object(OBJECT_FILE, BACfile_Property_Lists,
|
||||
|
||||
@@ -640,6 +640,10 @@
|
||||
RelativePath="..\..\..\src\timesync.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\object\trendlog.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\tsm.c"
|
||||
>
|
||||
@@ -998,6 +1002,10 @@
|
||||
RelativePath="..\..\..\include\timesync.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\trendlog.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\tsm.h"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user