From ce08ba4689b54f8e27a5418f490d9c87fe71cc78 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 17 Nov 2009 10:43:45 +0000 Subject: moved all .osin. instances from any instance containing it to the end of the instance. I have checked to find errors but NOT very thoroughly. The XML files might contain errors, but i will correct these, if any, when i encounter them later on --- server/xml/macros/oct_maaling-1.0.xml | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'server/xml/macros/oct_maaling-1.0.xml') diff --git a/server/xml/macros/oct_maaling-1.0.xml b/server/xml/macros/oct_maaling-1.0.xml index 1339787..06871cd 100644 --- a/server/xml/macros/oct_maaling-1.0.xml +++ b/server/xml/macros/oct_maaling-1.0.xml @@ -14,18 +14,18 @@ out = '' - if ( getValue('oct.odxt.missing') == '' or getValue('oct.osin.missing') == '' ) + if ( getValue('oct.mangler.odxt') == '' or getValue('oct.mangler.osin') == '' ) then out = out .. 'Central nethindetykkelse:\n' - if ( getValue('oct.odxt.missing') == '' ) + if ( getValue('oct.mangler.odxt') == '' ) then - out = out .. 'OCT o.dxt ' .. getValue('oct.odxt.thickness') .. ' µm\n' + out = out .. 'OCT o.dxt ' .. getValue('oct.thickness.odxt') .. ' µm\n' end - if ( getValue('oct.osin.missing') == '' ) + if ( getValue('oct.mangler.osin') == '' ) then - out = out .. 'OCT o.sin ' .. getValue('oct.osin.thickness') .. ' µm\n' + out = out .. 'OCT o.sin ' .. getValue('oct.thickness.osin') .. ' µm\n' end end @@ -33,46 +33,46 @@ return out - - + + - + 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 - + 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 @@ -115,12 +115,12 @@