Sie sind auf Seite 1von 2

var_wh_op=100

var_wh_shadow_op=70
var_temp=100
var_batt=80
var_sunrise=0
var_sunset=0
var_hitemp=0
var_lowtemp=0
var_pressure=0
var_switcher1=1
var_utctime=1

function var_utc_switcher()
var_utctime=var_utctime*-1
end

function var_switcher1_click()
if (var_switcher1>=6) then
var_switcher1=1
else
var_switcher1=var_switcher1+1
end

if (var_switcher1==1) then
var_temp=100
var_batt=80
var_sunrise=0
var_sunset=0
var_hitemp=0
var_lowtemp=0
var_pressure=0
elseif (var_switcher1==2) then
var_temp=0
var_batt=0
var_sunrise=100
var_sunset=0
var_hitemp=0
var_lowtemp=0
var_pressure=0
elseif (var_switcher1==3) then
var_temp=0
var_batt=0
var_sunrise=0
var_sunset=100
var_hitemp=0
var_lowtemp=0
var_pressure=0
elseif (var_switcher1==4) then
var_temp=0
var_batt=0
var_sunrise=0
var_sunset=0
var_hitemp=100
var_lowtemp=0
var_pressure=0
elseif (var_switcher1==5) then
var_temp=0
var_batt=0
var_sunrise=0
var_sunset=0
var_hitemp=0
var_lowtemp=100
var_pressure=0
elseif (var_switcher1==6) then
var_temp=0
var_batt=0
var_sunrise=0
var_sunset=0
var_hitemp=0
var_lowtemp=0
var_pressure=100
end
end

function var_showHideWatchHands()
if (var_wh_op==100) then
var_wh_op=15
var_wh_shadow_op=10
else
var_wh_op=100
var_wh_shadow_op=70
end
end

Das könnte Ihnen auch gefallen