Echelon i.LON SmartServer Technical Information Page 165

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 164
i.LON SmartServer 2.0 Programmer’s Reference
10-15
events within the timeframe from <UCPTstart> to
<UCPTstop>.
The first <DateEvent> element specifies the number of days
from <UCPTstart> 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 <DateEvent> element specifies the number of
days from <UCPTstart> 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 <Item>
element with a UFPTcalendar_Cfg type that includes the <UCPTname> property of the calendar to be
deleted. The following code sample demonstrates how to use the Delete function to delete a Calendar:
Request
<Delete xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item xsi:type="UFPTcalendar_Cfg">
<UCPTname>Net/LON/iLON App/Calendar1</UCPTname>
</Item>
</iLonItem>
</Delete>
Response
<DeleteResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem >
<UCPTfaultCount>0</UCPTfaultCount>
<Item>
<UCPTname>Net/LON/iLON App/Calendar1</UCPTname>
</Item>
</iLonItem>
</DeleteResponse>
Page view 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 442 443

Comments to this Manuals

No comments