From 8e98ba0deda4cc37c0d40b4ada04538099341b7b Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 6 Aug 2009 14:16:35 +0000 Subject: Fixed missing source parameter. --- server/xml/macros/90D_linse-1.0.xml | 8 ++++++-- server/xml/macros/autorefraktion-1.0.xml | 8 ++++++-- server/xml/macros/egen_brille-1.0.xml | 8 ++++++-- server/xml/macros/oct_konklusion-1.0.xml | 8 ++++++-- server/xml/macros/oct_maaling-1.0.xml | 8 ++++++-- server/xml/macros/oejendrypning-1.0.xml | 2 +- server/xml/macros/oejentryk-1.0.xml | 8 ++++++-- server/xml/macros/spaltelampe-1.0.xml | 8 ++++++-- server/xml/macros/visus-1.0.xml | 8 ++++++-- 9 files changed, 49 insertions(+), 17 deletions(-) (limited to 'server') diff --git a/server/xml/macros/90D_linse-1.0.xml b/server/xml/macros/90D_linse-1.0.xml index 2778446..d36e7b9 100644 --- a/server/xml/macros/90D_linse-1.0.xml +++ b/server/xml/macros/90D_linse-1.0.xml @@ -110,7 +110,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -118,9 +118,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -128,7 +130,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -136,9 +138,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/autorefraktion-1.0.xml b/server/xml/macros/autorefraktion-1.0.xml index f7e78af..54fd5bb 100644 --- a/server/xml/macros/autorefraktion-1.0.xml +++ b/server/xml/macros/autorefraktion-1.0.xml @@ -38,7 +38,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -46,9 +46,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -56,7 +58,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -64,9 +66,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/egen_brille-1.0.xml b/server/xml/macros/egen_brille-1.0.xml index 19eb15a..c6d1fe6 100644 --- a/server/xml/macros/egen_brille-1.0.xml +++ b/server/xml/macros/egen_brille-1.0.xml @@ -39,7 +39,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -47,9 +47,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -57,7 +59,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -65,9 +67,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/oct_konklusion-1.0.xml b/server/xml/macros/oct_konklusion-1.0.xml index 250ad58..f9b8786 100644 --- a/server/xml/macros/oct_konklusion-1.0.xml +++ b/server/xml/macros/oct_konklusion-1.0.xml @@ -45,7 +45,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -53,9 +53,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -63,7 +65,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -71,9 +73,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/oct_maaling-1.0.xml b/server/xml/macros/oct_maaling-1.0.xml index 8f49e0f..e1edde1 100644 --- a/server/xml/macros/oct_maaling-1.0.xml +++ b/server/xml/macros/oct_maaling-1.0.xml @@ -40,7 +40,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -48,9 +48,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -58,7 +60,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -66,9 +68,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/oejendrypning-1.0.xml b/server/xml/macros/oejendrypning-1.0.xml index c09b8aa..71e3055 100644 --- a/server/xml/macros/oejendrypning-1.0.xml +++ b/server/xml/macros/oejendrypning-1.0.xml @@ -24,7 +24,7 @@ -- Set date to now if no other data available within last 24 hours. - return os.time(), os.time() - 24*60*60, 'system' + return os.time(), os.time() - 24*60*60, 'pracro' diff --git a/server/xml/macros/oejentryk-1.0.xml b/server/xml/macros/oejentryk-1.0.xml index d02860f..b0c0e67 100644 --- a/server/xml/macros/oejentryk-1.0.xml +++ b/server/xml/macros/oejentryk-1.0.xml @@ -45,7 +45,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -53,9 +53,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -63,7 +65,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -71,9 +73,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/spaltelampe-1.0.xml b/server/xml/macros/spaltelampe-1.0.xml index a2a86a0..9f02764 100644 --- a/server/xml/macros/spaltelampe-1.0.xml +++ b/server/xml/macros/spaltelampe-1.0.xml @@ -47,7 +47,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -55,9 +55,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -65,7 +67,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -73,9 +75,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source diff --git a/server/xml/macros/visus-1.0.xml b/server/xml/macros/visus-1.0.xml index 61bf123..963a234 100644 --- a/server/xml/macros/visus-1.0.xml +++ b/server/xml/macros/visus-1.0.xml @@ -52,7 +52,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_right ) then @@ -60,9 +60,11 @@ then value = '' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source else value = 'mangler' timestamp = missing_eye_right.timestamp + source = missing_eye_right.source end end return value, timestamp, source @@ -70,7 +72,7 @@ value = 0 timestamp = 0 - source = 'pracro' + source = '' if( missing_eye_left ) then @@ -78,9 +80,11 @@ then value = '' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source else value = 'mangler' timestamp = missing_eye_left.timestamp + source = missing_eye_left.source end end return value, timestamp, source -- cgit v1.2.3