Ejemplo n.º 1
0
        // Create video source object
        public VsICoreProvider CreateVideoSource(object config)
        {
            StardotConfiguration cfg = (StardotConfiguration)config;

            if (cfg != null)
            {
                StardotExpress6 source = new StardotExpress6();

                source.VideoSource   = cfg.source;
                source.Login         = cfg.login;
                source.Password      = cfg.password;
                source.FrameInterval = cfg.frameInterval;
                source.Camera        = cfg.camera;

                return((VsICoreProvider)source);
            }
            return(null);
        }
Ejemplo n.º 2
0
		// Create video source object
		public VsICoreProvider CreateVideoSource(object config)
		{
			StardotConfiguration cfg = (StardotConfiguration) config;
			
			if (cfg != null)
			{
				StardotExpress6 source = new StardotExpress6();

				source.VideoSource	= cfg.source;
				source.Login		= cfg.login;
				source.Password		= cfg.password;
				source.FrameInterval = cfg.frameInterval;
				source.Camera		= cfg.camera;

				return (VsICoreProvider) source;
			}
			return null;
		}