summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-autoref-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/visus-autoref-1.0.xml')
-rw-r--r--server/xml/macros/visus-autoref-1.0.xml48
1 files changed, 24 insertions, 24 deletions
diff --git a/server/xml/macros/visus-autoref-1.0.xml b/server/xml/macros/visus-autoref-1.0.xml
index 8d52293..b64e476 100644
--- a/server/xml/macros/visus-autoref-1.0.xml
+++ b/server/xml/macros/visus-autoref-1.0.xml
@@ -10,7 +10,7 @@
-->
<resume language="lua">
out = ''
- if ( getValue('visus.autoref.missing.odxt') == '' )
+ if ( getValue('visus.autoref.mangler.odxt') == '' )
then
out = out .. 'Visus, autoref, o.dxt'
if ( getValue('visus.autoref.kontrast.odxt') ~= '' )
@@ -41,13 +41,13 @@
end
out = out .. '\n'
- if ( getValue('visus.autoref.missing.osin') == '' )
+ if ( getValue('visus.autoref.mangler.osin') == '' )
then
out = out .. '\n'
end
end
- if ( getValue('visus.autoref.missing.osin') == '' )
+ if ( getValue('visus.autoref.mangler.osin') == '' )
then
out = out .. 'Visus, autoref, o.sin'
if ( getValue('visus.autoref.kontrast.osin') ~= '' )
@@ -78,7 +78,7 @@
end
out = out .. '\n'
- if ( getValue('visus.autoref.missing.osin') == '' )
+ if ( getValue('visus.autoref.mangler.osin') == '' )
then
out = out .. '\n'
end
@@ -87,46 +87,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
@@ -242,8 +242,8 @@
<!-- o.dxt -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på o.dxt"
- name="visus.autoref.missing.odxt" script="right_eye"
- map="missing_eye_right_map"
+ name="visus.autoref.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">
@@ -427,8 +427,8 @@
<!-- o.sin -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på o.sin"
- name="visus.autoref.missing.osin" script="left_eye"
- map="missing_eye_left_map"
+ name="visus.autoref.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">