> 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
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users