Пример #1
0
        public Cite_Other GetOtherSettings()
        {
            Cite_Other citeOther = new Cite_Other();
            int        num       = 0;
            int        num1      = 0;
            int        num2      = 0;
            int        num3      = 0;
            int        num4      = 0;
            int        num5      = 0;
            int        num6      = 0;

            if (this.IsConnected)
            {
                try
                {
                    CiteDLL.XX_GetOtherSetting(this.CamSerial, out num, out num1, out num2, out num3, out num4, out num5, out num6);
                    citeOther.pKeyBeep            = num;
                    citeOther.pSoundIndicator     = num1;
                    citeOther.pAutoSwitchIR       = num2;
                    citeOther.pShowID             = num3;
                    citeOther.pEnableMotionDetect = num4;
                    citeOther.Int32_0             = num5;
                    citeOther.pFlickerHz          = num6;
                }
                catch
                {
                }
            }
            return(citeOther);
        }
Пример #2
0
        public bool SetOtherSettings(Cite_Other cOther)
        {
            bool flag = false;

            if (this.IsConnected)
            {
                flag = CiteDLL.XX_SetOtherSetting(this.CamSerial, cOther.pKeyBeep, cOther.pSoundIndicator, cOther.pAutoSwitchIR, cOther.pShowID, cOther.pEnableMotionDetect, cOther.Int32_0, cOther.pFlickerHz);
            }
            return(flag);
        }