From b82f94b9e8e939c4cc17a0062a483aeb8a528790 Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 28 Apr 2010 13:19:54 +0000 Subject: Initial releases --- server/xml/macros/pupillen-1.0.xml | 158 +++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 server/xml/macros/pupillen-1.0.xml (limited to 'server/xml/macros/pupillen-1.0.xml') diff --git a/server/xml/macros/pupillen-1.0.xml b/server/xml/macros/pupillen-1.0.xml new file mode 100644 index 0000000..3489990 --- /dev/null +++ b/server/xml/macros/pupillen-1.0.xml @@ -0,0 +1,158 @@ + + + + out = '' + + if ( getValue('pupillen.odxt.mangler') == '' ) + then + out = out .. 'Pupillen, o.dxt: ' .. getValue('pupillen.odxt') .. '\n' + end + + if ( getValue('pupillen.osin.mangler') == '' ) + then + out = out .. 'Pupillen, o.sin: ' .. getValue('pupillen.osin') .. '\n' + end + + if ( getValue('pupillen.supplerende') ~= '' ) + then + out = out .. '\n' + out = out .. getValue('pupillen.supplerende') + end + + return out + + + + + + + + value = 0 + timestamp = 0 + source = '' + + if( missing_eye_odxt ) + then + if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) + then + value = '' + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source + else + value = 'mangler' + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source + end + end + return value, timestamp, source + + + value = 0 + timestamp = 0 + source = '' + + if( missing_eye_osin ) + then + if( missing_eye_osin.value and missing_eye_osin.value == '' ) + then + value = '' + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source + else + value = 'mangler' + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source + end + end + return value, timestamp, source + + + + + + + + + + + + + + + +