XSLT选项没有激活,请参阅 ["帮助-设置"],或者HelpOnConfiguration
<?xml version="1.0" encoding="UTF-8"?>
<xml>
        <use name="/event">
                <add name="newpatient">
                        <use name="/template/event">
                                <create>
                                        <arg name="name"/>
                                        <arg name="epr"/>
                                        <arg name="nurseinterface"/>
                                        <arg name="patientinterface"/>
                                </create>
                        </use>
                </add>
        </use>
        <!-- Discovery Managed Object -->
        <use name="/discover">
                <add name="patient">
                        <use name="/template/discovery">
                                <create name="net.ponder2.nurse" interface="/interface/nurse" lookfor="net.ponder2.patient"
                                        eventfound="/event/newpatient" eventlost="/event/patientlost">
                                        <protocol name="/protocol/zigbee">
                                                <timeout value="20"/>
                                                <scan value="5"/>
                                                <heatbeat value="4"/>
                                        </protocol>
                                </create>
                        </use>
                </add>
        </use>
        <!-- Policy for new patient -->
        <use name="/template/policy">
                <create type="obligation" event="/event/newpatient" active="true">
                        <arg name="name"/>
                        <arg name="epr"/>
                        <arg name="nurseinterface"/>
                        <arg name="patientinterface"/>
                        <action>
                                <use name="/remote">
                                        <add name="!name;">
                                                <use name="/" location="!epr;"/>
                                        </add>
                                </use>
                                <use name="/mission/patient">
                                        <load name="!name;" path="/remote/!name;/interface/patient">
                                                <!--  -->!nurseinterface;
                                                <!--  -->!patientinterface;
                                                <!--  -->84
                                                <!--  -->42 </load>
                                </use>
                        </action>
                </create>
        </use>
</xml>

NurseXmlDiscovery (last edited 2008-01-03 17:40:14 by localhost)