beautypg.com

2 using the get function on a type translator rule, Using the list function on a type translator rule, Using the get function on a type translator rule – Echelon i.LON SmartServer 2.0 User Manual

Page 191

background image

i.LON SmartServer 2.0 Programmer’s Reference

13-3

Delete

Delete a type translator rule.

13.3.1

Using the List Function on a Type Translator Rule

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

Request



//Item[@xsi:type="UFPTtypeTranslator_Rule_Cfg"]


Response



0
4.0

My Custom Rule: SNVT_temp to SNVT_temp_p

8000010128000000[4].UFPTtypeTranslator_Rule;

xsi:type=“UFPTtypeTranslator_Rule_Cfg”


0


My Custom Rule: 2xSwitch_to_Switch

8000010128000000[4].UFPTtypeTranslator_Rule;

xsi:type=“UFPTtypeTranslator_Rule_Cfg”


0



13.3.2

Using the Get Function on a Type Translator Rule

You can use the Get function to retrieve the configuration of any type translator rule on the
SmartServer. You must reference the type translator whose configuration is to be returned by its
in the input you supply to the function, as shown in the example below.

Request



My Custom Rule: 2xSwitch_to_Switch


Response



0

2xSwitch_to_Switch
8000010128000000[4].UFPTtypeTranslator_Rule
0
2008-03-13T13:47:47.330-07:00