beautypg.com

5 using the delete function on a calendar, Using the delete function on a calendar -15 – Echelon i.LON SmartServer 2.0 User Manual

Page 165

background image

i.LON SmartServer 2.0 Programmer’s Reference

10-15

events within the timeframe from to
.

The first element specifies the number of days
from to the first event in the specified
timeframe. The first signed long in the structure indicates
the number of days until the event is valid, and the second
one indicates the days until the event is invalid.

The second element specifies the number of
days from to the last event in the specified
timeframe.

10.3.5

Using the Delete Function on a Calendar

You can use the Delete function to delete a Calendar. To delete a Calendar, you provide an
element with a UFPTcalendar_Cfg type that includes the property of the calendar to be
deleted. The following code sample demonstrates how to use the Delete function to delete a Calendar:

Request



xsi:type="UFPTcalendar_Cfg">

Net/LON/iLON

App/Calendar1


Response



0


Net/LON/iLON

App/Calendar1