Example #1
0
        public Cite_Video GetVideoSettings()
        {
            Cite_Video citeVideo = new Cite_Video();

            if (this.IsConnected)
            {
                int num  = 0;
                int num1 = 0;
                int num2 = 5;
                int num3 = 0;
                int num4 = 0;
                int num5 = 0;
                try
                {
                    if (CiteDLL.XX_GetVideoRecordSetting(this.CamSerial, out num, out num1, out num2, out num3, out num4, out num5))
                    {
                        citeVideo.CycleRecord  = num4;
                        citeVideo.PreRecord    = num5;
                        citeVideo.FileType     = num3;
                        citeVideo.RecordBlock  = num2;
                        citeVideo.ImageQuality = num1;
                        citeVideo.Resolution   = num;
                    }
                }
                catch
                {
                }
            }
            return(citeVideo);
        }