Implement missing data types for calendar and schedule (#474)

* Added the SpecialEvent struct for the Exception_Schedule property of Schedule, encode/decode/same functions, unit tests, and integrated into bacapp functions.

* Added the CalendarEntry struct for the Date_List property of Calendar and the SpecialEvent struct, encode/decode functions, unit tests, and integrated into bacapp functions.

* Added the DateRange struct for the Effective_Period property of Schedule, encode/decode functions, unit tests, and integrated into bacapp functions.

---------

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Ondřej Hruška
2024-02-01 17:57:46 +01:00
committed by GitHub
parent 7ad82f19a0
commit 340bd09561
120 changed files with 2003 additions and 124 deletions
+2
View File
@@ -164,6 +164,8 @@ set(BACNET_PROJECT_SOURCE
${LIBRARY_BACNET_CORE}/timestamp.c
${LIBRARY_BACNET_CORE}/weeklyschedule.c
${LIBRARY_BACNET_CORE}/dailyschedule.c
${LIBRARY_BACNET_CORE}/calendar_entry.c
${LIBRARY_BACNET_CORE}/special_event.c
${LIBRARY_BACNET_CORE}/bactimevalue.c
${LIBRARY_BACNET_CORE}/whohas.c
${LIBRARY_BACNET_CORE}/whois.c
+2
View File
@@ -115,6 +115,8 @@ CORESRC = $(BACNET_CORE)/abort.c \
$(BACNET_CORE)/weeklyschedule.c \
$(BACNET_CORE)/dailyschedule.c \
$(BACNET_CORE)/bactimevalue.c \
$(BACNET_CORE)/calendar_entry.c \
$(BACNET_CORE)/special_event.c \
$(BACNET_CORE)/whohas.c \
$(BACNET_CORE)/whois.c \
$(BACNET_CORE)/wp.c
+2
View File
@@ -80,6 +80,8 @@ BACNET_SRC = \
$(BACNET_CORE)/weeklyschedule.c \
$(BACNET_CORE)/dailyschedule.c \
$(BACNET_CORE)/bactimevalue.c \
$(BACNET_CORE)/calendar_entry.c \
$(BACNET_CORE)/special_event.c \
$(BACNET_CORE)/whohas.c \
$(BACNET_CORE)/whois.c \
$(BACNET_CORE)/wp.c
+2
View File
@@ -196,6 +196,8 @@ set(BACNET_PROJECT_SOURCE
${LIBRARY_BACNET_CORE}/timestamp.c
${LIBRARY_BACNET_CORE}/weeklyschedule.c
${LIBRARY_BACNET_CORE}/dailyschedule.c
${LIBRARY_BACNET_CORE}/calendar_entry.c
${LIBRARY_BACNET_CORE}/special_event.c
${LIBRARY_BACNET_CORE}/bactimevalue.c
${LIBRARY_BACNET_CORE}/whohas.c
${LIBRARY_BACNET_CORE}/whois.c
+2
View File
@@ -81,6 +81,8 @@ BACNET_SRC = \
$(BACNET_CORE)/timestamp.c \
$(BACNET_CORE)/weeklyschedule.c \
$(BACNET_CORE)/dailyschedule.c \
$(BACNET_CORE)/calendar_entry.c \
$(BACNET_CORE)/special_event.c \
$(BACNET_CORE)/bactimevalue.c \
$(BACNET_CORE)/whohas.c \
$(BACNET_CORE)/whois.c \
@@ -189,6 +189,8 @@
<ClCompile Include="..\..\..\..\src\bacnet\timestamp.c" />
<ClCompile Include="..\..\..\..\src\bacnet\timesync.c" />
<ClCompile Include="..\..\..\..\src\bacnet\weeklyschedule.c" />
<ClCompile Include="..\..\..\..\src\bacnet\calendar_entry.c" />
<ClCompile Include="..\..\..\..\src\bacnet\special_event.c" />
<ClCompile Include="..\..\..\..\src\bacnet\whohas.c" />
<ClCompile Include="..\..\..\..\src\bacnet\whois.c" />
<ClCompile Include="..\..\..\..\src\bacnet\wp.c" />
@@ -204,6 +204,12 @@
<ClCompile Include="..\..\..\..\src\bacnet\weeklyschedule.c">
<Filter>Source Files\src\bacnet</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\bacnet\calendar_entry.c">
<Filter>Source Files\src\bacnet</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\bacnet\special_event.c">
<Filter>Source Files\src\bacnet</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\bacnet\whohas.c">
<Filter>Source Files\src\bacnet</Filter>
</ClCompile>