forked from openlcb/OpenLCB_Java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.xml
53 lines (49 loc) · 1.65 KB
/
sample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="XSLT/decoder.xsl"?>
<cdi>
<identification>
<manufacturer>Spacely Sprockets</manufacturer>
<model>Model 123 Uniblab</model>
<hardwareVersion>EC 415</hardwareVersion>
<softwareVersion>1.2.3.4</softwareVersion>
<map>
<relation><property>Size</property><value>8 cm by 12 cm</value></relation>
</map>
</identification>
<segment origin="0" space="0">
<group offset="0" replication="2">
<name>Produced Events</name>
<description>The EventIDs for the producers</description>
<eventid/>
<eventid/>
</group>
<group replication="2">
<name>Consumed Events</name>
<description>The EventIDs for the consumers</description>
<eventid/>
<eventid/>
</group>
<bit>
<name>Sample bit variable</name>
<description>Doesn't do anything</description>
</bit>
<int size="2">
<name>Sample integer variable</name>
<description>Doesn't do anything</description>
<min>1</min>
<max>999</max>
<default>12</default>
</int>
</segment>
<segment origin="128" space="1">
<int size="1">
<name>Reset</name>
<description>Controls reloading and clearing node memory. Board must be restarted for this to take effect.</description>
<map>
<relation><property>85</property><value>(No reset)</value></relation>
<relation><property>0</property><value>Reset all to defaults</value></relation>
<relation><property>170</property><value>Reset just EventIDs to defaults</value></relation>
</map>
</int>
</segment>
</cdi>