| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| ~ Copyright (c) 2017 CEA. |
| ~ All rights reserved. This program and the accompanying materials |
| ~ are made available under the terms of the Eclipse Public License v1.0 |
| ~ which accompanies this distribution, and is available at |
| ~ http://www.eclipse.org/legal/epl-v10.html |
| ~ |
| ~ Contributors: |
| ~ CEA - initial API and implementation |
| --> |
| |
| <resourceInfos xmlns="http://org.eclipse.sensinact/resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://org.eclipse.sensinact/resource ../../../../sensinact-generic/src/main/resources/sensinact-resource.xsd"> |
| <resourceInfo xsi:type="resourceInfoSensor" name="VALUE"> |
| <identifier xsi:type="binaryHexContent">31</identifier> |
| <attributes> |
| <attribute name="value" type="float"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoVariable" name="CONDITION" > |
| <identifier xsi:type="binaryHexContent">33</identifier> |
| <attributes> |
| <attribute name="value" type="string" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoProperty" name="THRESHOLD" policy="PROPERTY" |
| target="measureTest" profile="measurement"> |
| <identifier xsi:type="binaryHexContent">34</identifier> |
| <attributes> |
| <attribute name="value" type="float"> |
| <value>1.5</value> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoAction" name="ACTIVATE" policy="ACTION" |
| target="measureTest" profile="measurement"> |
| <identifier xsi:type="binaryHexContent">3136</identifier> |
| <methods> |
| <method type="ACT"> |
| <parameter name="threshold" type="float"> |
| <builder xsi:type="copyBuilder" reference="THRESHOLD" policy="PROPERTY"></builder> |
| </parameter> |
| </method> |
| </methods> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoAction" name="BLINK" policy="ACTION" target="admin"> |
| <identifier xsi:type="binaryHexContent">3136</identifier> |
| <methods> |
| <method type="ACT" /> |
| </methods> |
| </resourceInfo> |
| <devices> |
| <device identifier="providerTest" profile="testProfile"/> |
| </devices> |
| </resourceInfos> |