From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/autorefraktion-1.0.xml | 211 ------------------------------- 1 file changed, 211 deletions(-) delete mode 100644 server/xml/macros/autorefraktion-1.0.xml (limited to 'server/xml/macros/autorefraktion-1.0.xml') diff --git a/server/xml/macros/autorefraktion-1.0.xml b/server/xml/macros/autorefraktion-1.0.xml deleted file mode 100644 index 140b42c..0000000 --- a/server/xml/macros/autorefraktion-1.0.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - out = '' - if ( getValue('autorefraktion.mangler.odxt') == '' ) - then - out = out .. 'Autorefraktion, o.dxt: ' .. getValue('autorefraktion.sf.odxt') .. ' sf' - if ( getValue('autorefraktion.cyl.odxt') ~= '' ) - then - out = out .. ', ' .. getValue('autorefraktion.cyl.odxt') .. ' cyl' - end - if ( getValue('autorefraktion.grader.odxt') ~= '' ) - then - out = out .. ', ' .. getValue('autorefraktion.grader.odxt') .. ' grader\n' - else - out = out .. '\n' - end - end - - if ( getValue('autorefraktion.mangler.osin') == '' ) - then - out = out .. 'Autorefraktion, o.sin: ' .. getValue('autorefraktion.sf.osin') .. ' sf' - if ( getValue('autorefraktion.cyl.osin') ~= '' ) - then - out = out .. ', ' .. getValue('autorefraktion.cyl.osin') .. ' cyl' - end - if ( getValue('autorefraktion.grader.osin') ~= '' ) - then - out = out .. ', ' .. getValue('autorefraktion.grader.osin') .. ' grader\n' - else - out = out .. '\n' - end - 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 - - - - - - - - - - - - - - - - - - - -