예제 #1
0
 public Logic(IWebServiceCall wsc, IStatistics stat, IBallTracker ballTrack, IGateTracker gateTrack)
 {
     _wsc        = wsc;
     _statistics = stat;
     _ballTrack  = ballTrack;
     _gateTrack  = gateTrack;
 }
예제 #2
0
        public void Init()
        {
            try
            {
                _tracker = new BlobBallTracker();
                _RegisterSettings(_tracker);
                _tracker.NewCameraImage += _tracker_NewCameraImages;
            }
            catch (NotSupportedException)
            {
                if (_tracker != null)
                {
                    _tracker.Dispose();
                }

                throw;
            }
        }