beautypg.com

1 using the list function on a calendar, 2 using the get function a calendar, Using the list function on a calendar -2 – Echelon i.LON SmartServer 2.0 User Manual

Page 152: Using the get function a calendar -2

background image

i.LON SmartServer 2.0 Programmer’s Reference

10-2

SmartServer.

Get

Retrieve the configuration of the Calendar that you have added to the
SmartServer.

Set

Create a new Calendar, or overwrite the configuration of an existing
Calendar.

Read

Retrieve information about exceptions for some period of time

Delete

Delete a Calendar.

Note: Section 21.1.3, Creating a Scheduler and Calendar in Visual C# .NET, includes a C#
programming example demonstrating how to use the Calendar SOAP interface to create and read a
data logger. Section 21.2.3, Creating a Scheduler and Calendar in Visual Basic.NET, includes a
Visual Basic example demonstrating how to do this.

10.3.1

Using the List Function on a Calendar

You can use the List function to retrieve a list of the Calendars that you have added to the SmartServer.
The List function takes an element that includes an xSelect statement querying items of a
UFPTcalendar_Cfg type as its input, as shown in the example below. The List function returns an
element for each Calendar that you have added to the SmartServer. The next section describes
the properties included in each of these elements.

You could use the list of elements returned by this function as input for the Get function. The
Get function would then return the configuration of each Calendar included in the list.

Request



//Item[@xsi:type="

UFPTcalendar_Cfg"]



Response



0
4.0

Net/LON/iLON

App/Calendar

#8000010128000000[4].UFPTcalendar;xsi:type=”LON_Fb_Cfg”
0

10.3.2

Using the Get Function a Calendar

You can use the Get function to retrieve the configuration of any Calendar that you have added to the
SmartServer. You must reference the Calendar whose configuration is to be returned by its
in the input you supply to the function, as shown in the example below.

Request



Net/LON/iLON

App/Calendar