summaryrefslogtreecommitdiff
path: root/server/xml/macros/akselaengde-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/akselaengde-1.0.xml')
-rw-r--r--server/xml/macros/akselaengde-1.0.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/xml/macros/akselaengde-1.0.xml b/server/xml/macros/akselaengde-1.0.xml
index 087ce80..bb670ea 100644
--- a/server/xml/macros/akselaengde-1.0.xml
+++ b/server/xml/macros/akselaengde-1.0.xml
@@ -20,6 +20,8 @@
return out
</resume>
<queries>
+ <query service="pracro" class="missing_eye_odxt" ttl="1000000"/>
+ <query service="pracro" class="missing_eye_osin" ttl="1000000"/>
</queries>
<maps>
<map name="missing_eye_odxt_map">
@@ -33,11 +35,11 @@
then
value = ''
timestamp = missing_eye_odxt.timestamp
- source = missing_eye_odxt.kilde
+ source = missing_eye_odxt.source
else
value = 'mangler'
timestamp = missing_eye_odxt.timestamp
- source = missing_eye_odxt.kilde
+ source = missing_eye_odxt.source
end
end
return value, timestamp, source
@@ -53,11 +55,11 @@
then
value = ''
timestamp = missing_eye_osin.timestamp
- source = missing_eye_osin.kilde
+ source = missing_eye_osin.source
else
value = 'mangler'
timestamp = missing_eye_osin.timestamp
- source = missing_eye_osin.kilde
+ source = missing_eye_osin.source
end
end
return value, timestamp, source