out = '' if ( getValue('spaltelampe.mangler.odxt') == '' or getValue('spaltelampe.mangler.osin') == '' ) then out = out .. 'Spl:\n' end if ( getValue('spaltelampe.mangler.odxt') == '' ) then out = out .. 'Linsen, højre side: ' .. getValue('spaltelampe.observation.odxt') .. '\n' if ( getValue('spaltelampe.yderligere.odxt') ~= '' ) then out = out .. 'Supplerende:\n' .. getValue('spaltelampe.yderligere.odxt') .. '\n' end end if ( getValue('spaltelampe.mangler.osin') == '' ) then out = out .. 'Linsen, venstre side: ' .. getValue('spaltelampe.observation.osin') .. '\n' if ( getValue('spaltelampe.yderligere.osin') ~= '' ) then out = out .. 'Supplerende:\n' .. getValue('spaltelampe.yderligere.osin') .. '\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