Hi everyone,
For example:
when Time(hour==22,minute==0) Lamp(status==1)
then
Console.Writeline("It's late,turn off the light and go to bed")
where time is a class that return the current hour;
Claudio, this would probably work if you fire the rules every hour or
every minute or every time your Time object changes. Just having the rules
sitting in your rulebase doesn't mean they get executed.
Christine