Пример #1
0
        public CameraMenu GetCameraMenu()
        {
            CameraMenu cameraMenu = new CameraMenu();
            int        num        = 0;
            int        num1       = 0;
            int        num2       = 0;
            int        num3       = 0;
            int        num4       = 0;
            int        num5       = 0;
            int        num6       = 0;
            int        num7       = 0;
            int        num8       = 0;
            int        num9       = 0;
            int        num10      = 0;
            int        num11      = 0;
            int        num12      = 0;

            try
            {
                if (CiteDLL.XX_GetMenuItemsStatus(this.CamSerial, out num, out num1, out num2, out num3, out num4, out num5, out num6, out num7, out num8, out num9, out num10, out num11, out num12))
                {
                    cameraMenu.nEnableVideoResolutionItem     = num;
                    cameraMenu.nEnableCameraModeSelectionItem = num1;
                    cameraMenu.nEnableMotionDetectItem        = num2;
                    cameraMenu.nEnablePreRecordLastRecordItem = num3;
                    cameraMenu.nEnableVioceAnnouncementItem   = num4;
                    cameraMenu.nEnableButtonSelectSoundItem   = num5;
                    cameraMenu.nEnableAllVisualIndicatorItem  = num6;
                    cameraMenu.nEnableLEDIndicatorItem        = num7;
                    cameraMenu.nEnableLaserIndicatorItem      = num8;
                    cameraMenu.nEnableInfraredControlItem     = num9;
                    cameraMenu.nEnableFWVersionItem           = num10;
                    cameraMenu.nEnableSerialNumberItem        = num11;
                    cameraMenu.nEnableLanguageItem            = num12;
                }
            }
            catch (Exception exception)
            {
                string message = exception.Message;
            }
            return(cameraMenu);
        }