From 5e5c30c4f743564a70ba5adb2373ead0237b4492 Mon Sep 17 00:00:00 2001 From: senator Date: Thu, 29 Apr 2010 11:42:44 +0000 Subject: Initial release --- .../macros/tao_computerstyret_perimetri-1.0.xml | 132 ++++++++++++++++ server/xml/macros/tao_spaltelampe-1.0.xml | 170 +++++++++++++++++++++ 2 files changed, 302 insertions(+) create mode 100644 server/xml/macros/tao_computerstyret_perimetri-1.0.xml create mode 100644 server/xml/macros/tao_spaltelampe-1.0.xml (limited to 'server') diff --git a/server/xml/macros/tao_computerstyret_perimetri-1.0.xml b/server/xml/macros/tao_computerstyret_perimetri-1.0.xml new file mode 100644 index 0000000..eec6d27 --- /dev/null +++ b/server/xml/macros/tao_computerstyret_perimetri-1.0.xml @@ -0,0 +1,132 @@ + + + + out = '' + + if ( getValue('tao_computerstyret_perimetri.odxt.mangler') == '' ) + then + out = out .. 'Computerstyret perimetri o.dxt: ' .. getValue('tao_computerstyret_perimetri.odxt') .. '\n' + end + + if ( getValue('tao_computerstyret_perimetri.osin.mangler') == '' ) + then + out = out .. 'Computerstyret perimetri o.sin: ' .. getValue('tao_computerstyret_perimetri.osin') .. '\n' + 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 + + + + + + + + + + + + + + +