forked from openlcb/OpenLCB_Java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigDemoApplet.html
56 lines (49 loc) · 2.12 KB
/
ConfigDemoApplet.html
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
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OpenLCB Configuration Demo</title>
</head>
<body>
<h1>OpenLCB Configuration Demo</h1>
This page demonstrates one possible form of an OpenLCB configuration tool.
<p>
Press the button at the bottom to start the demonstration.
(Note: This may not work on some browsers, particularly Safari,
depending on security settings; it's known to work on recent Firefox versions)
<p>
The new window has three sections. If the entire window doesn't fit
cleanly on the screen, you can minimise one or more of the top sections
by clicking on the little arrow at the top left of the section.
<p>
The top section, labeled "Identification", shows the node identification
information from the OpenLCB node's Configuration Definition Information (CDI)
file. These are properties of the node, and can't be changed.
<p>
Below that are sections for three "segments" of configuration information.
<ul>
<li>The first shows typical configuration content for a node: some
produced and consumed Event IDs, then a couple of binary configuration variables.
<li>The second shows a couple variables in another space, in this case
the EEPROM variables that control whether the non-volatile memory in the node
should be fully or partially reloaded.
<li>The third shows off the "nested" and "replicating" group capabilities
that CDI has for compactly handling a number of definitions.
</ul>
<p>
The CDI for this demo is in XML format, as shown in this
<a href="sample2.xml">sample XML document</a> (depending on your browser, you
may have to "view source" to see it after clicking)
<p>
Note this that is just a demo. The read/write buttons don't work yet!
Also, we haven't done much work on the cosmetics, so some things will look odd,
the layout on the screen takes too much space, etc.
<p>
<applet code = "scenarios.ConfigDemoApplet" archive = "openlcb-demo.jar"
height="60"
width="300"
>
<PARAM name="URL" value="http://localhost/openlcb/trunk/prototypes/java/Servo4.xml">
</applet>
</body>
</html>