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