Exemplo n.º 1
0
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsMotionDetectionConfiguration cfg = (VsMotionDetectionConfiguration)config;

            if (cfg != null)
            {
                VsMotionDetection analyser = new VsMotionDetection(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();
                analyser.AnalyserName          = algorithmName;

                return((VsMotionDetection)analyser);
            }
            return(null);
        }
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsMotionDetectionConfiguration cfg = (VsMotionDetectionConfiguration)config;

            if (cfg != null)
            {
                VsMotionDetection analyser = new VsMotionDetection(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();
                analyser.AnalyserName = algorithmName;

                return (VsMotionDetection)analyser;
            }
            return null;
        }