예제 #1
0
        public bool SetCameraMenu(CameraMenu cm)
        {
            bool flag = false;

            try
            {
                if (CiteDLL.XX_EnableMenuItems(this.CamSerial, cm.nEnableVideoResolutionItem, cm.nEnableCameraModeSelectionItem, cm.nEnableMotionDetectItem, cm.nEnablePreRecordLastRecordItem, cm.nEnableVioceAnnouncementItem, cm.nEnableButtonSelectSoundItem, cm.nEnableAllVisualIndicatorItem, cm.nEnableLEDIndicatorItem, cm.nEnableLaserIndicatorItem, cm.nEnableInfraredControlItem, cm.nEnableFWVersionItem, cm.nEnableSerialNumberItem, cm.nEnableLanguageItem))
                {
                    flag = true;
                }
            }
            catch
            {
            }
            return(flag);
        }