if event.int and getstate("Dem4E")=="green" and getstate("Dem4LV1")=="off" then
setstate("Dem4LV1", "on")
setstate("Dem4LV2", "on")
interrupt(4,"ready")
return
end
F.stn("App4E", "Dem4E", "Dev4E", "L")