Source Device Item and Target Device Item Infos
This guide describes the XML representation of to which Source Device Item and Target Device Item the mapping should be applied. The requirement is to specify the object class of the Source Device Item and Target Device Item. As an addition the user can provide detailed information. For example for the Source Device Item it is possible to specify its name, tags and attributes. The detailed information about the Target Device Item is its tags.
<source-info>
The <source-info> is required element and represents the information about the source device item. This element has the following child elements:
<class> – this element is required. The <class> tag has required attribute "name" that holds the full Java class name of the source device item.<name> – this element is optional. The <name> has optional attribute "value" that holds the name of the source device item. If this name is null, then the xsi:nil attribute should be used with value "true" for representing the null value. Only one of these attributes should be provided.<attributes> – this element is optional. It has one or many <attribute> child elements. On XML Object Representation page there is detailed information about the representation of the Device Item attribute.<source-info>
<class name="com.prosyst.mbs.services.da.items.Opener" />
</source-info>
<target-info>
The <target-info> is required element and represents the information about the target device item. This element has the following child elements:
<class> – this element is required. The <class> tag has required "name" attribute that holds the full Java class name of the target device item.<tags> – this element is optional. The <tags> element has one or many child elements <tag>. The <tag> tag has required attribute "value" that holds the value of the target device item tag.<target-info>
<class name="com.prosyst.mbs.services.da.items.TransitionActuator" />
<tags>
<tag value="temperature" />
</tags>
</target-info>