#! /usr/bin/env python
# test-python - remote control sanduhr via the python-orbit bindings

import CORBA, oaf, SandUhr

oaf.init()
factory = oaf.activate_from_id("OAFIID:sanduhr:c31c770f-1043-43b1-a843-660eba410128")

timer = factory.CreateTimer ("16:00", "Hund fttern damit er nicht jault")
print  timer.Message
print  timer.TimeSpec

print "Test exceptions:"
timer.TimeSpec="Hpf"
