4 using the delete function on an alarm generator, Using the delete function on an alarm generator – Echelon i.LON SmartServer 2.0 User Manual

Page 91

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

6-13

<UCPTpollRate>0.0</UCPTpollRate>
<UCPTalarm2Description>none</UCPTalarm2Description>
<UCPTcompFunction LonFormat="UCPTcompFunction">FN_EQ</UCPTcompFunction>
<UCPTalarmSetTimeD>0.0</UCPTalarmSetTimeD>
<UCPTalarmClrTimeD>0.0</UCPTalarmClrTimeD>
<UCPTlowLimit1Offset LonFormat="UNVT_double_float">10000</UCPTlowLimit1Offset>
<UCPTlowLimit2Offset LonFormat="UNVT_double_float">20000</UCPTlowLimit2Offset>
<UCPThighLimit1Offset LonFormat="UNVT_double_float">10000</UCPThighLimit1Offset>
<UCPThighLimit2Offset LonFormat="UNVT_double_float">20000</UCPThighLimit2Offset>
<SCPThystHigh1 LonFormat="UNVT_double_float">5000.000000</SCPThystHigh1>
<SCPThystHigh2 LonFormat="UNVT_double_float">5000.000000</SCPThystHigh2>
<SCPThystLow1 LonFormat="UNVT_double_float">5000.000000</SCPThystLow1>
<SCPThystLow2 LonFormat="UNVT_double_float">5000.000000</SCPThystLow2>

</Item>

</iLonItem

Response

<SetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>

<UCPTfaultCount>0</UCPTfaultCount>

<Item>
<UCPTname>Net/LON/iLON

App/Alarm

Generator[0]</UCPTname>

</Item>
</iLonItem>
</SetResponse>

6.3.4

Using the Delete Function on an Alarm Generator

You can use the Delete function to delete an Alarm Generator. To delete an Alarm Generator, you
provide an <Item> element with a UFPTalarmGenerator_Cfg type that includes the <UCPTname>
property of the alarm generator to be deleted. The following code sample demonstrates how to use the
Delete function to delete an Alarm Generator:

Request

<Delete xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item

xsi:type="UFPTalarmGenerator_Cfg">

<UCPTname>Net/LON/iLON App/Alarm Generator[0]</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/Alarm Generator[0]</UCPTname>

</Item>
</iLonItem>
</DeleteResponse>

Advertising