summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-template-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/visus-template-1.0.xml')
-rw-r--r--server/xml/macros/visus-template-1.0.xml46
1 files changed, 23 insertions, 23 deletions
diff --git a/server/xml/macros/visus-template-1.0.xml b/server/xml/macros/visus-template-1.0.xml
index 9e6794a..1e6cb13 100644
--- a/server/xml/macros/visus-template-1.0.xml
+++ b/server/xml/macros/visus-template-1.0.xml
@@ -11,12 +11,12 @@
-->
<resume language="lua">
out = ''
- if ( getValue('visus.template.missing.odxt') == '' or getValue('visus.template.missing.osin') == '' or getValue('visus.template.ou') ~= '' )
+ if ( getValue('visus.template.mangler.odxt') == '' or getValue('visus.template.mangler.osin') == '' or getValue('visus.template.ou') ~= '' )
then
out = out .. 'Visus template:\n'
end
- if ( getValue('visus.template.missing.odxt') == '' )
+ if ( getValue('visus.template.mangler.odxt') == '' )
then
out = out .. 'o.dxt: '
if ( getValue('visus.template.snellen.odxt') ~= '' )
@@ -79,7 +79,7 @@
- if ( getValue('visus.template.missing.osin') == '' )
+ if ( getValue('visus.template.mangler.osin') == '' )
then
out = out .. 'o.sin: '
if ( getValue('visus.template.snellen.osin') ~= '' )
@@ -167,46 +167,46 @@
return out
</resume>
<queries>
- <query service="pracro" class="missing_eye_right" ttl="1000000"/>
- <query service="pracro" class="missing_eye_left" ttl="1000000"/>
+ <query service="pracro" class="missing_eye_odxt" ttl="1000000"/>
+ <query service="pracro" class="missing_eye_osin" ttl="1000000"/>
</queries>
<maps>
- <map name="missing_eye_right_map">
+ <map name="missing_eye_odxt_map">
value = 0
timestamp = 0
source = ''
- if( missing_eye_right )
+ if( missing_eye_odxt )
then
- if( missing_eye_right.value and missing_eye_right.value == '' )
+ if( missing_eye_odxt.value and missing_eye_odxt.value == '' )
then
value = ''
- timestamp = missing_eye_right.timestamp
- source = missing_eye_right.source
+ timestamp = missing_eye_odxt.timestamp
+ source = missing_eye_odxt.source
else
value = 'mangler'
- timestamp = missing_eye_right.timestamp
- source = missing_eye_right.source
+ timestamp = missing_eye_odxt.timestamp
+ source = missing_eye_odxt.source
end
end
return value, timestamp, source
</map>
- <map name="missing_eye_left_map">
+ <map name="missing_eye_osin_map">
value = 0
timestamp = 0
source = ''
- if( missing_eye_left )
+ if( missing_eye_osin )
then
- if( missing_eye_left.value and missing_eye_left.value == '' )
+ if( missing_eye_osin.value and missing_eye_osin.value == '' )
then
value = ''
- timestamp = missing_eye_left.timestamp
- source = missing_eye_left.source
+ timestamp = missing_eye_osin.timestamp
+ source = missing_eye_osin.source
else
value = 'mangler'
- timestamp = missing_eye_left.timestamp
- source = missing_eye_left.source
+ timestamp = missing_eye_osin.timestamp
+ source = missing_eye_osin.source
end
end
return value, timestamp, source
@@ -418,8 +418,8 @@
<!-- o.dxt -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på o.dxt"
- name="visus.template.missing.odxt" script="right_eye"
- map="missing_eye_right_map"
+ name="visus.template.mangler.odxt" script="right_eye"
+ map="missing_eye_odxt_map"
truevalue="mangler" falsevalue="" value=""/>
<frame name="right_eye_frame" caption="o.dxt" layout="vbox">
<frame layout="hbox">
@@ -767,8 +767,8 @@
<!-- o.sin -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på o.sin"
- name="visus.template.missing.osin" script="left_eye"
- map="missing_eye_left_map"
+ name="visus.template.mangler.osin" script="left_eye"
+ map="missing_eye_osin_map"
truevalue="mangler" falsevalue="" value=""/>
<frame name="left_eye_frame" caption="o.sin" layout="vbox">
<frame layout="hbox">