Ejemplo n.º 1
0
        private void button4_MouseDown(object sender, MouseEventArgs e)
        {
            zonvif_ptz.PTZSpeed speed = new zonvif_ptz.PTZSpeed();
            speed.PanTilt   = new zonvif_ptz.Vector2D();
            speed.PanTilt.x = 2; speed.PanTilt.y = 0;  // 右

            ptz_.ContinuousMove(token_, speed, null);
        }
Ejemplo n.º 2
0
        private void button3_MouseDown(object sender, MouseEventArgs e)
        {
            zonvif_ptz.PTZSpeed speed = new zonvif_ptz.PTZSpeed();
            speed.PanTilt = new zonvif_ptz.Vector2D();
            speed.PanTilt.x = -2; speed.PanTilt.y = 0;  // 左

            ptz_.ContinuousMove(token_, speed, null);
        }