cpee 2.0.16 → 2.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/wfadaptor.css +17 -0
- data/cockpit/js/instance.js +3 -3
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/themes/compact/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/compact/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/compact/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/default/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/default/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/default/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/diana/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/diana/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/extended/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/extended/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/extended/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/model/rngs/call.rng +6 -1
- data/cockpit/themes/model/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/packed/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/packed/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/preset/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/preset/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/preset/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/preset/theme.js +1 -1
- data/cpee.gemspec +2 -2
- data/lib/cpee/controller.rb +6 -3
- data/lib/cpee/implementation.rb +23 -8
- data/lib/cpee/implementation_notifications.rb +1 -1
- data/lib/cpee/persistence.rb +2 -1
- data/lib/cpee/redis.rb +57 -0
- data/server/handlerwrappers/default.rb +16 -16
- data/server/routing/end.rb +16 -4
- data/server/routing/forward-events.rb +19 -7
- data/server/routing/forward-votes.rb +19 -7
- data/server/routing/persist.rb +27 -15
- data/tools/cpee +5 -5
- data/tools/server/{server.rb → cpee} +0 -0
- data/tools/test/README +4 -0
- data/tools/test/config.json +3 -0
- data/tools/test/contrib/graph_example.svg +1166 -0
- data/tools/test/contrib/legend.svg +817 -0
- data/tools/test/contrib/symbols.svg +224 -0
- data/tools/test/contrib/transformation1.xsl +264 -0
- data/tools/test/contrib/transformation2.xsl +10 -0
- data/tools/test/contrib/tree_example.svg +788 -0
- data/tools/test/css/model.css +24 -0
- data/tools/test/css/track.css +60 -0
- data/tools/test/css/ui.css +214 -0
- data/tools/test/css/wfadaptor.css +422 -0
- data/tools/test/edit.html +258 -0
- data/tools/test/graph.html +69 -0
- data/tools/test/index.html +258 -0
- data/tools/test/js/details.js +109 -0
- data/tools/test/js/instance.js +1344 -0
- data/tools/test/js/model.js +41 -0
- data/tools/test/js/parameters.js +82 -0
- data/tools/test/js/track.js +18 -0
- data/tools/test/js/ui.js +104 -0
- data/tools/test/js/wfadaptor.js +763 -0
- data/tools/test/js_libs.zip +0 -0
- data/tools/test/js_libs/Makefile +2 -0
- data/tools/test/js_libs/ansi_up.js +333 -0
- data/tools/test/js_libs/console.js +80 -0
- data/tools/test/js_libs/custommenu.css +84 -0
- data/tools/test/js_libs/custommenu.js +104 -0
- data/tools/test/js_libs/experiments1/relaxngui.css +185 -0
- data/tools/test/js_libs/experiments1/relaxngui.js +488 -0
- data/tools/test/js_libs/experiments1/rngtest9.html +60 -0
- data/tools/test/js_libs/experiments1/rngtest9.rng +35 -0
- data/tools/test/js_libs/experiments1/rngtest9.xml +8 -0
- data/tools/test/js_libs/jquery-2.2.4.min.js +4 -0
- data/tools/test/js_libs/jquery-3.2.1.min.js +4 -0
- data/tools/test/js_libs/jquery-3.3.1.min.js +2 -0
- data/tools/test/js_libs/jquery.browser.js +40 -0
- data/tools/test/js_libs/jquery.caret.min.js +10 -0
- data/tools/test/js_libs/jquery.cookie.js +117 -0
- data/tools/test/js_libs/jquery.min.js +1 -0
- data/tools/test/js_libs/jquery.svg.min.js +6 -0
- data/tools/test/js_libs/jquery.svgdom.min.js +6 -0
- data/tools/test/js_libs/markdown.min.js +1 -0
- data/tools/test/js_libs/parsequery.js +21 -0
- data/tools/test/js_libs/printf.js +368 -0
- data/tools/test/js_libs/relaxngui.css +213 -0
- data/tools/test/js_libs/relaxngui.js +543 -0
- data/tools/test/js_libs/strftime.min.js +1 -0
- data/tools/test/js_libs/tests/dataelements.html +59 -0
- data/tools/test/js_libs/tests/dataelements.rng +8 -0
- data/tools/test/js_libs/tests/dataelements.xml +3 -0
- data/tools/test/js_libs/tests/relaxngui.css +203 -0
- data/tools/test/js_libs/tests/relaxngui.js +502 -0
- data/tools/test/js_libs/tests/rngtest1.html +66 -0
- data/tools/test/js_libs/tests/rngtest1.rng +147 -0
- data/tools/test/js_libs/tests/rngtest1.xml +13 -0
- data/tools/test/js_libs/tests/rngtest2.html +60 -0
- data/tools/test/js_libs/tests/rngtest2.rng +6 -0
- data/tools/test/js_libs/tests/rngtest2.xml +3 -0
- data/tools/test/js_libs/tests/rngtest3.html +60 -0
- data/tools/test/js_libs/tests/rngtest3.rng +23 -0
- data/tools/test/js_libs/tests/rngtest3.xml +9 -0
- data/tools/test/js_libs/tests/rngtest4.html +60 -0
- data/tools/test/js_libs/tests/rngtest4.rng +19 -0
- data/tools/test/js_libs/tests/rngtest4.xml +12 -0
- data/tools/test/js_libs/tests/rngtest5.html +60 -0
- data/tools/test/js_libs/tests/rngtest5.rng +75 -0
- data/tools/test/js_libs/tests/rngtest5.xml +40 -0
- data/tools/test/js_libs/tests/rngtest6.html +60 -0
- data/tools/test/js_libs/tests/rngtest6.rng +24 -0
- data/tools/test/js_libs/tests/rngtest6.xml +6 -0
- data/tools/test/js_libs/tests/rngtest8.html +60 -0
- data/tools/test/js_libs/tests/rngtest8.rng +13 -0
- data/tools/test/js_libs/tests/rngtest8.xml +2 -0
- data/tools/test/js_libs/tests/rngtest9.html +60 -0
- data/tools/test/js_libs/tests/rngtest9.rng +31 -0
- data/tools/test/js_libs/tests/rngtest9.xml +8 -0
- data/tools/test/js_libs/ui.css +333 -0
- data/tools/test/js_libs/ui.html +168 -0
- data/tools/test/js_libs/ui.js +177 -0
- data/tools/test/js_libs/underscore.min.js +27 -0
- data/tools/test/js_libs/util.js +81 -0
- data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +358 -0
- data/tools/test/js_libs/vkbeautify.js +1 -0
- data/tools/test/js_libs/webcomponents.min.js +196 -0
- data/tools/test/model.html +192 -0
- data/tools/test/rngs/attributes.rng +8 -0
- data/tools/test/rngs/dataelements.rng +8 -0
- data/tools/test/rngs/endpoints.rng +8 -0
- data/tools/test/templates.legacy/Async.xml +46 -0
- data/tools/test/templates.legacy/BCO.xml +70 -0
- data/tools/test/templates.legacy/BCS.xml +70 -0
- data/tools/test/templates.legacy/Centurio.xml +75 -0
- data/tools/test/templates.legacy/Concurrent.xml +40 -0
- data/tools/test/templates.legacy/Coopis Testset.xml +76 -0
- data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +30 -0
- data/tools/test/templates.legacy/ICSOC Testset.xml +95 -0
- data/tools/test/templates.legacy/Infinity.xml +28 -0
- data/tools/test/templates.legacy/Lego Boxer.xml +31 -0
- data/tools/test/templates.legacy/Lego Conveyor.xml +31 -0
- data/tools/test/templates.legacy/Lego Crane.xml +87 -0
- data/tools/test/templates.legacy/Lego Ejector.xml +55 -0
- data/tools/test/templates.legacy/Lego Full.xml +142 -0
- data/tools/test/templates.legacy/Lego Liddy.xml +40 -0
- data/tools/test/templates.legacy/Lego Plate.xml +31 -0
- data/tools/test/templates.legacy/Lego Transporter.xml +43 -0
- data/tools/test/templates.legacy/Lego_Part_1.xml +85 -0
- data/tools/test/templates.legacy/LgLinear.xml +65 -0
- data/tools/test/templates.legacy/Linear.xml +77 -0
- data/tools/test/templates.legacy/Log.xml +117 -0
- data/tools/test/templates.legacy/Mangler 1.xml +87 -0
- data/tools/test/templates.legacy/Mangler 2.xml +103 -0
- data/tools/test/templates.legacy/Manuel Labels.xml +55 -0
- data/tools/test/templates.legacy/Promise.xml +275 -0
- data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +83 -0
- data/tools/test/templates.legacy/Subprocess.xml +56 -0
- data/tools/test/templates.legacy/Syncing P34 1.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34 2.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34 3.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34.xml +77 -0
- data/tools/test/templates.legacy/TEST - Bad Loop.xml +173 -0
- data/tools/test/templates.legacy/TEST - Wrong Positions.xml +174 -0
- data/tools/test/templates.legacy/Take_5.xml +48 -0
- data/tools/test/templates.legacy/Update.xml +32 -0
- data/tools/test/templates.legacy/Worklist Parallel.xml +104 -0
- data/tools/test/templates.legacy/Worklist Test CPEE.xml +40 -0
- data/tools/test/templates.legacy/Worklist Test.xml +42 -0
- data/tools/test/templates.legacy/Worklist Test2.xml +43 -0
- data/tools/test/templates.legacy/convert_cpee2.rb +15 -0
- data/tools/test/templates.legacy/convert_preset.rb +32 -0
- data/tools/test/templates.legacy/testsets.xml +37 -0
- data/tools/test/templates.legacy/transformations.xml +4 -0
- data/tools/test/templates/Coopis 2010.xml +76 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
- data/tools/test/templates/Track Test Local.xml +82 -0
- data/tools/test/templates/Track Test.xml +82 -0
- data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +182 -0
- data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +203 -0
- data/tools/test/templates/UR-VUE 2020 Solution NN.xml +197 -0
- data/tools/test/templates/UR-VUE 2020 Solution View.xml +151 -0
- data/tools/test/templates/UR-VUE 2020.xml +26 -0
- data/tools/test/templates/Worklist.xml +42 -0
- data/tools/test/templates/instantiate.local/Take_Sub.xml +59 -0
- data/tools/test/templates/instantiate/Take_Perf.xml +46 -0
- data/tools/test/templates/instantiate/Take_Sub.xml +58 -0
- data/tools/test/templates/instantiate/Take_X.xml +48 -0
- data/tools/test/themes/compact/theme.js +1285 -0
- data/tools/test/themes/diana/theme.js +1650 -0
- data/tools/test/themes/extended/theme.js +1325 -0
- data/tools/test/themes/model/rngs/alternative.rng +1 -0
- data/tools/test/themes/model/rngs/call.rng +67 -0
- data/tools/test/themes/model/rngs/callmanipulate.rng +72 -0
- data/tools/test/themes/model/rngs/choose.rng +1 -0
- data/tools/test/themes/model/rngs/critical.rng +1 -0
- data/tools/test/themes/model/rngs/escape.rng +1 -0
- data/tools/test/themes/model/rngs/group.rng +1 -0
- data/tools/test/themes/model/rngs/loop.rng +1 -0
- data/tools/test/themes/model/rngs/manipulate.rng +1 -0
- data/tools/test/themes/model/rngs/otherwise.rng +1 -0
- data/tools/test/themes/model/rngs/parallel.rng +1 -0
- data/tools/test/themes/model/rngs/parallel_branch.rng +1 -0
- data/tools/test/themes/model/rngs/scripts.rng +7 -0
- data/tools/test/themes/model/rngs/stop.rng +1 -0
- data/tools/test/themes/model/rngs/terminate.rng +1 -0
- data/tools/test/themes/model/theme.js +1268 -0
- data/tools/test/themes/packed/theme.js +1286 -0
- data/tools/test/themes/preset/rngs/alternative.rng +25 -0
- data/tools/test/themes/preset/rngs/call.rng +122 -0
- data/tools/test/themes/preset/rngs/callmanipulate.rng +145 -0
- data/tools/test/themes/preset/rngs/choose.rng +14 -0
- data/tools/test/themes/preset/rngs/closed_loop.rng +62 -0
- data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +5 -0
- data/tools/test/themes/preset/rngs/closed_loop_control.rng +31 -0
- data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +12 -0
- data/tools/test/themes/preset/rngs/critical.rng +5 -0
- data/tools/test/themes/preset/rngs/escape.rng +1 -0
- data/tools/test/themes/preset/rngs/group.rng +3 -0
- data/tools/test/themes/preset/rngs/loop.rng +22 -0
- data/tools/test/themes/preset/rngs/manipulate.rng +9 -0
- data/tools/test/themes/preset/rngs/otherwise.rng +22 -0
- data/tools/test/themes/preset/rngs/parallel.rng +21 -0
- data/tools/test/themes/preset/rngs/parallel_branch.rng +8 -0
- data/tools/test/themes/preset/rngs/scripts.rng +23 -0
- data/tools/test/themes/preset/rngs/stop.rng +5 -0
- data/tools/test/themes/preset/rngs/terminate.rng +1 -0
- data/tools/test/themes/preset/symbols/alternative.svg +5 -0
- data/tools/test/themes/preset/symbols/arrow.svg +3 -0
- data/tools/test/themes/preset/symbols/call.svg +6 -0
- data/tools/test/themes/preset/symbols/callmanipulate.svg +8 -0
- data/tools/test/themes/preset/symbols/choose.svg +5 -0
- data/tools/test/themes/preset/symbols/choose_exclusive.svg +5 -0
- data/tools/test/themes/preset/symbols/choose_inclusive.svg +4 -0
- data/tools/test/themes/preset/symbols/closed_loop.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_control.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +6 -0
- data/tools/test/themes/preset/symbols/complex.svg +8 -0
- data/tools/test/themes/preset/symbols/critical.svg +4 -0
- data/tools/test/themes/preset/symbols/end.svg +3 -0
- data/tools/test/themes/preset/symbols/escape.svg +5 -0
- data/tools/test/themes/preset/symbols/event_end.svg +3 -0
- data/tools/test/themes/preset/symbols/loop.svg +5 -0
- data/tools/test/themes/preset/symbols/manipulate.svg +4 -0
- data/tools/test/themes/preset/symbols/otherwise.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel_branch.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +4 -0
- data/tools/test/themes/preset/symbols/parallel_branch_event.svg +14 -0
- data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +5 -0
- data/tools/test/themes/preset/symbols/scripts.svg +4 -0
- data/tools/test/themes/preset/symbols/start.svg +3 -0
- data/tools/test/themes/preset/symbols/stop.svg +5 -0
- data/tools/test/themes/preset/symbols/terminate.svg +4 -0
- data/tools/test/themes/preset/theme.js +1287 -0
- data/tools/test/track.html +142 -0
- metadata +222 -3
@@ -0,0 +1,19 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name="_workorders">
|
3
|
+
<zeroOrMore rngui:label="Create Work Order">
|
4
|
+
<element name='_workorder'>
|
5
|
+
<attribute name="label" rngui:label="Note">
|
6
|
+
<data type="string"/>
|
7
|
+
</attribute>
|
8
|
+
<attribute name="duration" rngui:label="Duration">
|
9
|
+
<data type="string"/>
|
10
|
+
</attribute>
|
11
|
+
<zeroOrMore rngui:label="Add Attachment">
|
12
|
+
<element name='_attachment' rngui:label='Attachment'>
|
13
|
+
<data type="string"/>
|
14
|
+
</element>
|
15
|
+
</zeroOrMore>
|
16
|
+
</element>
|
17
|
+
</zeroOrMore>
|
18
|
+
</element>
|
19
|
+
</element>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<call>
|
2
|
+
<_workorders>
|
3
|
+
<_workorder label="a" duration="b">
|
4
|
+
<_attachment>1</_attachment>
|
5
|
+
<_attachment>2</_attachment>
|
6
|
+
</_workorder>
|
7
|
+
<_workorder label="c" duration="d">
|
8
|
+
<_attachment>3</_attachment>
|
9
|
+
<_attachment>4</_attachment>
|
10
|
+
</_workorder>
|
11
|
+
</_workorders>
|
12
|
+
</call>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 5</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
27
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
28
|
+
|
29
|
+
<script type="text/javascript" src="relaxngui.js"></script>
|
30
|
+
<link rel="stylesheet" href="relaxngui.css" type="text/css"/>
|
31
|
+
|
32
|
+
<!-- custom stuff, play arround -->
|
33
|
+
|
34
|
+
<script type="text/javascript">
|
35
|
+
$("body").ready(function(){
|
36
|
+
$.ajax({
|
37
|
+
type: "GET",
|
38
|
+
url: "rngtest5.rng",
|
39
|
+
success: function(rng){
|
40
|
+
$.ajax({
|
41
|
+
type: "GET",
|
42
|
+
url: "rngtest5.xml",
|
43
|
+
success: function(data){
|
44
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
45
|
+
rngui.content(data);
|
46
|
+
$('#saveall').on('click',function(){
|
47
|
+
console.log($(rngui.save()).serializePrettyXML());
|
48
|
+
});
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
});
|
53
|
+
});
|
54
|
+
</script>
|
55
|
+
</head>
|
56
|
+
<body>
|
57
|
+
<div id="show"></div>
|
58
|
+
<button id='saveall'>save it all to console</button>
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name='parameters' rngui:header="Parameters">
|
3
|
+
<element name="label" rngui:label="Label">
|
4
|
+
<data type="string" rngui:label="Short description of the task"/>
|
5
|
+
</element>
|
6
|
+
<element name="method" rngui:label="Method">
|
7
|
+
<choice>
|
8
|
+
<value>:post</value>
|
9
|
+
<value>:get</value>
|
10
|
+
<value>:put</value>
|
11
|
+
<value>:delete</value>
|
12
|
+
</choice>
|
13
|
+
</element>
|
14
|
+
<element name="arguments" rngui:header="Arguments">
|
15
|
+
<element name="nc-program" rngui:label="NC Program">
|
16
|
+
<data type="string" rngui:label="Unique ID of the NC Program"/>
|
17
|
+
</element>
|
18
|
+
<element name="material-name" rngui:label="Material Name">
|
19
|
+
<data type="string" rngui:label="Name of the raw material"/>
|
20
|
+
</element>
|
21
|
+
<element name="material-pic" rngui:label="Material Picture">
|
22
|
+
<data type="string" rngui:label="Picture of the raw material"/>
|
23
|
+
</element>
|
24
|
+
<element name="result-pic" rngui:label="Result Picture">
|
25
|
+
<data type="string" rngui:label="Picture of the result"/>
|
26
|
+
</element>
|
27
|
+
<element name="comment" rngui:label="Comment">
|
28
|
+
<text rngui:wrap='true' rngui:label='Additional comments for the operator'/>
|
29
|
+
</element>
|
30
|
+
<element name="tools" rngui:header="Tools">
|
31
|
+
<zeroOrMore rngui:label="Add Tool">
|
32
|
+
<element name="tool">
|
33
|
+
<element name="place" rngui:label="Position">
|
34
|
+
<data type="integer" rngui:label="Position in Tool Magazine"/>
|
35
|
+
</element>
|
36
|
+
<element name="tool-name" rngui:label="Tool">
|
37
|
+
<data type="string" rngui:label="Name of Tool"/>
|
38
|
+
</element>
|
39
|
+
<element name="tool-holder" rngui:label="Holder">
|
40
|
+
<data type="string" rngui:label="Name of Tool Holder"/>
|
41
|
+
</element>
|
42
|
+
<element name="tool-orientation" rngui:label="Orientation">
|
43
|
+
<data type="string" rngui:label="Orientation in Tool Holder"/>
|
44
|
+
</element>
|
45
|
+
<element name="corrections" rngui:header="Corrections">
|
46
|
+
<zeroOrMore rngui:label="Add Correction">
|
47
|
+
<element name="correction">
|
48
|
+
<attribute name="length-x" rngui:label="Length X">
|
49
|
+
<data type="float"/>
|
50
|
+
</attribute>
|
51
|
+
<attribute name="length-z" rngui:label="Length Y">
|
52
|
+
<data type="float"/>
|
53
|
+
</attribute>
|
54
|
+
<attribute name="radius" rngui:label="Radius">
|
55
|
+
<data type="float"/>
|
56
|
+
</attribute>
|
57
|
+
</element>
|
58
|
+
</zeroOrMore>
|
59
|
+
</element>
|
60
|
+
<element name="attachments" rngui:header="Attachments">
|
61
|
+
<zeroOrMore rngui:label="Add Attachment">
|
62
|
+
<element name="attachment" rngui:label="URL">
|
63
|
+
<attribute name="label" rngui:label="Label">
|
64
|
+
<data type="string" rngui:label="Label"/>
|
65
|
+
</attribute>
|
66
|
+
<data type="string" rngui:label="URL"/>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
</element>
|
71
|
+
</zeroOrMore>
|
72
|
+
</element>
|
73
|
+
</element>
|
74
|
+
</element>
|
75
|
+
</element>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<call>
|
2
|
+
<parameters>
|
3
|
+
<label></label>
|
4
|
+
<method>:post</method>
|
5
|
+
<arguments>
|
6
|
+
<nc-program>Kuli</nc-program>
|
7
|
+
<material-name>3</material-name>
|
8
|
+
<material-pic>http://centurio.work/customers/prime/part.jpg</material-pic>
|
9
|
+
<result-pic>http://centurio.work/customers/prime/result.jpg</result-pic>
|
10
|
+
<comment>Hallo</comment>
|
11
|
+
<tools>
|
12
|
+
<tool>
|
13
|
+
<place>1</place>
|
14
|
+
<tool-name>Schrupper (500)</tool-name>
|
15
|
+
<tool-holder>x3</tool-holder>
|
16
|
+
<tool-orientation>gegenspindel axial</tool-orientation>
|
17
|
+
<corrections>
|
18
|
+
<correction length-x="0" length-z="0" radius="70"/>
|
19
|
+
<correction length-x="1" length-z="1" radius="60"/>
|
20
|
+
</corrections>
|
21
|
+
<attachments>
|
22
|
+
<attachment label="Bla">http://centurio.work/customers/prime/attachment1.jpg</attachment>
|
23
|
+
</attachments>
|
24
|
+
</tool>
|
25
|
+
<tool>
|
26
|
+
<place>2</place>
|
27
|
+
<tool-name>Schaftfräser d6</tool-name>
|
28
|
+
<tool-holder>SK45</tool-holder>
|
29
|
+
<tool-orientation>-</tool-orientation>
|
30
|
+
<corrections>
|
31
|
+
<correction length-x="2" length-z="1" radius="2"/>
|
32
|
+
</corrections>
|
33
|
+
<attachments>
|
34
|
+
<attachment label="Tool">https://centurio.work/customers/prime/schaftfraeser.jpg</attachment>
|
35
|
+
</attachments>
|
36
|
+
</tool>
|
37
|
+
</tools>
|
38
|
+
</arguments>
|
39
|
+
</parameters>
|
40
|
+
</call>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 6</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
27
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
28
|
+
|
29
|
+
<script type="text/javascript" src="relaxngui.js"></script>
|
30
|
+
<link rel="stylesheet" href="relaxngui.css" type="text/css"/>
|
31
|
+
|
32
|
+
<!-- custom stuff, play arround -->
|
33
|
+
|
34
|
+
<script type="text/javascript">
|
35
|
+
$("body").ready(function(){
|
36
|
+
$.ajax({
|
37
|
+
type: "GET",
|
38
|
+
url: "rngtest6.rng",
|
39
|
+
success: function(rng){
|
40
|
+
$.ajax({
|
41
|
+
type: "GET",
|
42
|
+
url: "rngtest6.xml",
|
43
|
+
success: function(data){
|
44
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
45
|
+
rngui.content(data);
|
46
|
+
$('#saveall').on('click',function(){
|
47
|
+
console.log($(rngui.save()).serializePrettyXML());
|
48
|
+
});
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
});
|
53
|
+
});
|
54
|
+
</script>
|
55
|
+
</head>
|
56
|
+
<body>
|
57
|
+
<div id="show"></div>
|
58
|
+
<button id='saveall'>save it all to console</button>
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<element rngui:version="1.2" rngui:header="Arguments" name="arguments" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name="behavior" rngui:label="Mode">
|
3
|
+
<choice>
|
4
|
+
<value>wait_running</value>
|
5
|
+
<value>fork_running</value>
|
6
|
+
<value>wait_ready</value>
|
7
|
+
<value>fork_ready</value>
|
8
|
+
</choice>
|
9
|
+
</element>
|
10
|
+
<element name="url" rngui:label="Process">
|
11
|
+
<data type="string" rngui:label="Link to centurio.work testset"/>
|
12
|
+
</element>
|
13
|
+
<element name="date" rngui:label="Due Date">
|
14
|
+
<data type="date" rngui:label="Due Date"/>
|
15
|
+
</element>
|
16
|
+
<element name="init" rngui:header="Initialize">
|
17
|
+
<zeroOrMore rngui:label="New Argument Pair">
|
18
|
+
<element rngui:label='Name'>
|
19
|
+
<anyName/>
|
20
|
+
<data type="string" rngui:label="Value"/>
|
21
|
+
</element>
|
22
|
+
</zeroOrMore>
|
23
|
+
</element>
|
24
|
+
</element>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 8</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
27
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
28
|
+
|
29
|
+
<script type="text/javascript" src="relaxngui.js"></script>
|
30
|
+
<link rel="stylesheet" href="relaxngui.css" type="text/css"/>
|
31
|
+
|
32
|
+
<!-- custom stuff, play arround -->
|
33
|
+
|
34
|
+
<script type="text/javascript">
|
35
|
+
$("body").ready(function(){
|
36
|
+
$.ajax({
|
37
|
+
type: "GET",
|
38
|
+
url: "rngtest8.rng",
|
39
|
+
success: function(rng){
|
40
|
+
$.ajax({
|
41
|
+
type: "GET",
|
42
|
+
url: "rngtest8.xml",
|
43
|
+
success: function(data){
|
44
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
45
|
+
rngui.content(data);
|
46
|
+
$('#saveall').on('click',function(){
|
47
|
+
console.log($(rngui.save()).serializePrettyXML());
|
48
|
+
});
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
});
|
53
|
+
});
|
54
|
+
</script>
|
55
|
+
</head>
|
56
|
+
<body>
|
57
|
+
<div id="show"></div>
|
58
|
+
<button id='saveall'>save it all to console</button>
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<element rngui:version="1.2" name="parallel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
|
3
|
+
<data type="integer"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="parallel_branch">
|
6
|
+
<attribute name="pass"><data type="string"/></attribute>
|
7
|
+
<attribute name="local"><data type="string"/></attribute>
|
8
|
+
</element>
|
9
|
+
<element name="parallel_branch">
|
10
|
+
<attribute name="pass"><data type="string"/></attribute>
|
11
|
+
<attribute name="local"><data type="string"/></attribute>
|
12
|
+
</element>
|
13
|
+
</element>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 9</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
27
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
28
|
+
|
29
|
+
<script type="text/javascript" src="relaxngui.js"></script>
|
30
|
+
<link rel="stylesheet" href="relaxngui.css" type="text/css"/>
|
31
|
+
|
32
|
+
<!-- custom stuff, play arround -->
|
33
|
+
|
34
|
+
<script type="text/javascript">
|
35
|
+
$("body").ready(function(){
|
36
|
+
$.ajax({
|
37
|
+
type: "GET",
|
38
|
+
url: "rngtest9.rng",
|
39
|
+
success: function(rng){
|
40
|
+
$.ajax({
|
41
|
+
type: "GET",
|
42
|
+
url: "rngtest9.xml",
|
43
|
+
success: function(data){
|
44
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
45
|
+
rngui.content(data);
|
46
|
+
$('#saveall').on('click',function(){
|
47
|
+
console.log($(rngui.save()).serializePrettyXML());
|
48
|
+
});
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
});
|
53
|
+
});
|
54
|
+
</script>
|
55
|
+
</head>
|
56
|
+
<body>
|
57
|
+
<div id="show"></div>
|
58
|
+
<button id='saveall'>save it all to console</button>
|
59
|
+
</body>
|
60
|
+
</html>
|