public void Post(MotionSensorConfigList config)
        {
            MotionSensorSetup setup = config.UpdateConfig();


            MotionSensorStartup startup = new MotionSensorStartup(setup);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Tests the MotionSensorStartup wrapper which is used to fire a motion
        /// detection session, mimics what would come in from a webservice
        /// </summary>
        static void TestStartup()
        {
            MotionSensorSetup setup = new MotionSensorSetup();

            setup.camera = new ImageAnalysis.Camera.CameraModel();
            setup.camera.cameraIpAddress = "192.168.0.8";
            setup.imageSaveLocation      = @"d:\motion";
            setup.saveImagesToFileServer = true;

            setup.emailAlarm = new ImageAnalysis.Alarms.EmailAlarm();
            setup.emailAlarm.emailAddress = "*****@*****.**";

            MotionSensorStartup motionSensor = new MotionSensorStartup(setup);
        }