Wednesday, April 14, 2010

(04-14-2010) Chronos - Timer system

I wrote a timer application. It's very simple - does daily, monthly and annual timed events. Can do day(s) of week (For example my wake up timer: Every Monday-Friday at 6AM, duration of 15 minutes) , day of month (2nd Tuesday each month or the 15th of each month) or day of year (4th Thursday in November or every December 25th). Each timer has a start time and a duration, so that it can start at a specific time of day and continue on for minutes or hours, as defined by the timer event in a database.

You can assign a holiday flag, or holiday exemption for each timer - for example my wake-up timer is Monday through Friday at 6AM, with a duration of 15 minutes, but if it's a holiday then it is holiday exempt and the alarm will not go off on that day. Also, you can dismiss a timer - so that once I wake up and dismiss the alarm, it won't continue to try to wake me up.

The Chronos system also has OnStart, OnActive and OnEnd events for each timer. In the future I would like to add socket communications as well as Sunset and Sunrise timers.

No comments:

Post a Comment