Exemplo n.º 1
0
        public AlertEvents(VideoFeedOptions o)
        {
            //initalize values
            options = o;
            alarmInterval = 0;
            timer = new Timer();
            timer.Tick += new EventHandler(timer_Tick);
            timer.Interval = 100;
            timer.Start();

            //events n stuff
            recording = false;
            audioPlayed = false;
            frameDropThreshold = 0;

            Log.debug(String.Format("Alert Events Initialized for {0}",o.Name));
        }
Exemplo n.º 2
0
        public AlertEvents(VideoFeedOptions o)
        {
            //initalize values
            options        = o;
            alarmInterval  = 0;
            timer          = new Timer();
            timer.Tick    += new EventHandler(timer_Tick);
            timer.Interval = 100;
            timer.Start();

            //events n stuff
            recording          = false;
            audioPlayed        = false;
            frameDropThreshold = 0;

            Log.debug(String.Format("Alert Events Initialized for {0}", o.Name));
        }